diff options
Diffstat (limited to 'OpenSim/Region/Physics/Manager/ZeroMesher.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/ZeroMesher.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Manager/ZeroMesher.cs b/OpenSim/Region/Physics/Manager/ZeroMesher.cs index 81eeed2..e6e75f9 100644 --- a/OpenSim/Region/Physics/Manager/ZeroMesher.cs +++ b/OpenSim/Region/Physics/Manager/ZeroMesher.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using OpenMetaverse; | ||
30 | 31 | ||
31 | /* | 32 | /* |
32 | * This is the zero mesher. | 33 | * This is the zero mesher. |
@@ -60,12 +61,12 @@ namespace OpenSim.Region.Physics.Manager | |||
60 | 61 | ||
61 | public class ZeroMesher : IMesher | 62 | public class ZeroMesher : IMesher |
62 | { | 63 | { |
63 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod) | 64 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod) |
64 | { | 65 | { |
65 | return CreateMesh(primName, primShape, size, lod, false); | 66 | return CreateMesh(primName, primShape, size, lod, false); |
66 | } | 67 | } |
67 | 68 | ||
68 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod, bool isPhysical) | 69 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) |
69 | { | 70 | { |
70 | // Remove the reference to the encoded JPEG2000 data so it can be GCed | 71 | // Remove the reference to the encoded JPEG2000 data so it can be GCed |
71 | primShape.SculptData = OpenMetaverse.Utils.EmptyBytes; | 72 | primShape.SculptData = OpenMetaverse.Utils.EmptyBytes; |