diff options
author | Robert Adams | 2012-11-29 09:24:53 -0800 |
---|---|---|
committer | Robert Adams | 2012-11-29 09:24:53 -0800 |
commit | 0cd99c74a70ddfd42c3e8325716f56bf35d4474c (patch) | |
tree | 7d2c78ce242c51f49c375e53e83788a1e45abbeb /OpenSim/Region/Physics/Manager/IMesher.cs | |
parent | BulletSim: reverse direction of hover correction. Removes problem with vehicl... (diff) | |
download | opensim-SC_OLD-0cd99c74a70ddfd42c3e8325716f56bf35d4474c.zip opensim-SC_OLD-0cd99c74a70ddfd42c3e8325716f56bf35d4474c.tar.gz opensim-SC_OLD-0cd99c74a70ddfd42c3e8325716f56bf35d4474c.tar.bz2 opensim-SC_OLD-0cd99c74a70ddfd42c3e8325716f56bf35d4474c.tar.xz |
BulletSim: add expanded call to IMesher/Meshmerizer which enables/disables mesh caching. Since BulletSim caches and tracks the unmanaged memory version of meshes, the Meshmerizer itself does not need to cache built meshes once BulletSim has made the physical proxy mesh.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/IMesher.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/IMesher.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/IMesher.cs b/OpenSim/Region/Physics/Manager/IMesher.cs index 3a9ca1b..10c4bd3 100644 --- a/OpenSim/Region/Physics/Manager/IMesher.cs +++ b/OpenSim/Region/Physics/Manager/IMesher.cs | |||
@@ -36,6 +36,7 @@ namespace OpenSim.Region.Physics.Manager | |||
36 | { | 36 | { |
37 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod); | 37 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod); |
38 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical); | 38 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical); |
39 | IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache); | ||
39 | } | 40 | } |
40 | 41 | ||
41 | // Values for level of detail to be passed to the mesher. | 42 | // Values for level of detail to be passed to the mesher. |