aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
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/OdePlugin/ODEPrim.cs
parentPatch #9141 (Mantis #1655) (diff)
downloadopensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.zip
opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.gz
opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.bz2
opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.xz
Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index defc0ca..d063507 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -1321,7 +1321,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1321 if (IsPhysical) 1321 if (IsPhysical)
1322 meshlod = _parent_scene.MeshSculptphysicalLOD; 1322 meshlod = _parent_scene.MeshSculptphysicalLOD;
1323 // Don't need to re-enable body.. it's done in SetMesh 1323 // Don't need to re-enable body.. it's done in SetMesh
1324 IMesh mesh = _parent_scene.mesher.CreateMesh(oldname, _pbs, _size, meshlod); 1324 IMesh mesh = _parent_scene.mesher.CreateMesh(oldname, _pbs, _size, meshlod, IsPhysical);
1325 // createmesh returns null when it's a shape that isn't a cube. 1325 // createmesh returns null when it's a shape that isn't a cube.
1326 if (mesh != null) 1326 if (mesh != null)
1327 { 1327 {