diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Meshing/ZeroMesher.cs | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/OpenSim/Region/PhysicsModules/Meshing/ZeroMesher.cs b/OpenSim/Region/PhysicsModules/Meshing/ZeroMesher.cs index 0a3b3a4..dbf4f7e 100644 --- a/OpenSim/Region/PhysicsModules/Meshing/ZeroMesher.cs +++ b/OpenSim/Region/PhysicsModules/Meshing/ZeroMesher.cs | |||
@@ -47,7 +47,7 @@ using log4net; | |||
47 | * it's always availabe and thus the default in case of configuration errors | 47 | * it's always availabe and thus the default in case of configuration errors |
48 | */ | 48 | */ |
49 | 49 | ||
50 | namespace OpenSim.Region.PhysicsModules.Meshing | 50 | namespace OpenSim.Region.PhysicsModule.Meshing |
51 | { | 51 | { |
52 | 52 | ||
53 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "ZeroMesher")] | 53 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "ZeroMesher")] |
@@ -110,23 +110,36 @@ namespace OpenSim.Region.PhysicsModules.Meshing | |||
110 | #region IMesher | 110 | #region IMesher |
111 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod) | 111 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod) |
112 | { | 112 | { |
113 | return CreateMesh(primName, primShape, size, lod, false, false); | 113 | return CreateMesh(primName, primShape, size, lod, false); |
114 | } | 114 | } |
115 | 115 | ||
116 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) | 116 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache, bool convex, bool forOde) |
117 | { | ||
118 | return CreateMesh(primName, primShape, size, lod, false); | ||
119 | } | ||
120 | |||
121 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex,bool forOde) | ||
117 | { | 122 | { |
118 | return CreateMesh(primName, primShape, size, lod, false, false); | 123 | return CreateMesh(primName, primShape, size, lod, false); |
119 | } | 124 | } |
120 | 125 | ||
121 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache) | 126 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) |
122 | { | 127 | { |
123 | // Remove the reference to the encoded JPEG2000 data so it can be GCed | 128 | // Remove the reference to the encoded JPEG2000 data so it can be GCed |
124 | primShape.SculptData = OpenMetaverse.Utils.EmptyBytes; | 129 | primShape.SculptData = OpenMetaverse.Utils.EmptyBytes; |
125 | 130 | ||
126 | return null; | 131 | return null; |
127 | } | 132 | } |
128 | #endregion | ||
129 | 133 | ||
134 | public IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex) | ||
135 | { | ||
136 | return null; | ||
137 | } | ||
130 | 138 | ||
139 | public void ReleaseMesh(IMesh mesh) { } | ||
140 | public void ExpireReleaseMeshs() { } | ||
141 | public void ExpireFileCache() { } | ||
142 | |||
143 | #endregion | ||
131 | } | 144 | } |
132 | } | 145 | } |