diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 2 |
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 | { |