diff options
author | Melanie | 2012-11-30 01:54:13 +0000 |
---|---|---|
committer | Melanie | 2012-11-30 01:54:13 +0000 |
commit | 56b2bc71017ebec9fe4b7ecd358819c8d7499f76 (patch) | |
tree | eea2b7a38ef1c191e41928f12cefe2254a4454e0 /OpenSim/Region/Physics/Manager/ZeroMesher.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | BulletSim: add expanded call to IMesher/Meshmerizer which enables/disables me... (diff) | |
download | opensim-SC-56b2bc71017ebec9fe4b7ecd358819c8d7499f76.zip opensim-SC-56b2bc71017ebec9fe4b7ecd358819c8d7499f76.tar.gz opensim-SC-56b2bc71017ebec9fe4b7ecd358819c8d7499f76.tar.bz2 opensim-SC-56b2bc71017ebec9fe4b7ecd358819c8d7499f76.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Physics/Manager/IMesher.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Manager/ZeroMesher.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Manager/ZeroMesher.cs b/OpenSim/Region/Physics/Manager/ZeroMesher.cs index 16846e6..80ecf66 100644 --- a/OpenSim/Region/Physics/Manager/ZeroMesher.cs +++ b/OpenSim/Region/Physics/Manager/ZeroMesher.cs | |||
@@ -64,16 +64,21 @@ namespace OpenSim.Region.Physics.Manager | |||
64 | { | 64 | { |
65 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod) | 65 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod) |
66 | { | 66 | { |
67 | return CreateMesh(primName, primShape, size, lod, false); | 67 | return CreateMesh(primName, primShape, size, lod, false, false); |
68 | } | 68 | } |
69 | 69 | ||
70 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex,bool forOde) | 70 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache, bool convex,bool forOde) |
71 | { | 71 | { |
72 | return CreateMesh(primName, primShape, size, lod, false); | 72 | return CreateMesh(primName, primShape, size, lod, false); |
73 | } | 73 | } |
74 | 74 | ||
75 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) | 75 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) |
76 | { | 76 | { |
77 | return CreateMesh(primName, primShape, size, lod, false, false); | ||
78 | } | ||
79 | |||
80 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache) | ||
81 | { | ||
77 | // Remove the reference to the encoded JPEG2000 data so it can be GCed | 82 | // Remove the reference to the encoded JPEG2000 data so it can be GCed |
78 | primShape.SculptData = OpenMetaverse.Utils.EmptyBytes; | 83 | primShape.SculptData = OpenMetaverse.Utils.EmptyBytes; |
79 | 84 | ||