aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager
diff options
context:
space:
mode:
authorDahlia Trimble2008-07-12 01:02:41 +0000
committerDahlia Trimble2008-07-12 01:02:41 +0000
commitf6c7f167b9ee35a68b69f48ae8261225cb452a7a (patch)
treebd30e9068ad8b1b05ea35b11923e37fe27d88df1 /OpenSim/Region/Physics/Manager
parentPatch #9141 (Mantis #1655) (diff)
downloadopensim-SC-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.zip
opensim-SC-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.gz
opensim-SC-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.bz2
opensim-SC-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.xz
Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r--OpenSim/Region/Physics/Manager/IMesher.cs1
-rw-r--r--OpenSim/Region/Physics/Manager/ZeroMesher.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/IMesher.cs b/OpenSim/Region/Physics/Manager/IMesher.cs
index b5fc95c..48e4ba6 100644
--- a/OpenSim/Region/Physics/Manager/IMesher.cs
+++ b/OpenSim/Region/Physics/Manager/IMesher.cs
@@ -34,6 +34,7 @@ namespace OpenSim.Region.Physics.Manager
34 public interface IMesher 34 public interface IMesher
35 { 35 {
36 IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod); 36 IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod);
37 IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod, bool isPhysical);
37 } 38 }
38 39
39 public interface IVertex 40 public interface IVertex
diff --git a/OpenSim/Region/Physics/Manager/ZeroMesher.cs b/OpenSim/Region/Physics/Manager/ZeroMesher.cs
index 8362630..609dee3 100644
--- a/OpenSim/Region/Physics/Manager/ZeroMesher.cs
+++ b/OpenSim/Region/Physics/Manager/ZeroMesher.cs
@@ -62,6 +62,11 @@ namespace OpenSim.Region.Physics.Manager
62 { 62 {
63 public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod) 63 public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod)
64 { 64 {
65 return CreateMesh(primName, primShape, size, lod, false);
66 }
67
68 public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod, bool isPhysical)
69 {
65 return null; 70 return null;
66 } 71 }
67 } 72 }