aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 32a9fc7..35328b8 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -375,14 +375,6 @@ namespace OpenSim.Region.Physics.OdePlugin
375 { 375 {
376 string primScenAvatarIn = _parent_scene.whichspaceamIin(_position); 376 string primScenAvatarIn = _parent_scene.whichspaceamIin(_position);
377 int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); 377 int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position);
378 if (primScenAvatarIn == "0")
379 {
380 MainLog.Instance.Verbose("Physics", "Prim " + m_primName + " in space with no prim: " + primScenAvatarIn + ". Expected to be at: " + m_targetSpace.ToString() + " . Arr:': " + arrayitem[0].ToString() + "," + arrayitem[1].ToString());
381 }
382 else
383 {
384 MainLog.Instance.Verbose("Physics", "Prim " + m_primName + " in Prim space with prim: " + primScenAvatarIn + ". Expected to be at: " + m_targetSpace.ToString() + ". Arr:" + arrayitem[0].ToString() + "," + arrayitem[1].ToString());
385 }
386 m_targetSpace = _parent_scene.recalculateSpaceForGeom(prim_geom, _position, m_targetSpace); 378 m_targetSpace = _parent_scene.recalculateSpaceForGeom(prim_geom, _position, m_targetSpace);
387 d.GeomSetPosition(prim_geom, _position.X, _position.Y, _position.Z); 379 d.GeomSetPosition(prim_geom, _position.X, _position.Y, _position.Z);
388 d.SpaceAdd(m_targetSpace, prim_geom); 380 d.SpaceAdd(m_targetSpace, prim_geom);