diff options
author | Dahlia Trimble | 2008-07-12 01:02:41 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-07-12 01:02:41 +0000 |
commit | f6c7f167b9ee35a68b69f48ae8261225cb452a7a (patch) | |
tree | bd30e9068ad8b1b05ea35b11923e37fe27d88df1 /OpenSim/Region/Physics/OdePlugin | |
parent | Patch #9141 (Mantis #1655) (diff) | |
download | opensim-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/OdePlugin')
-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 | { |