diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 0e899ca..4c339d9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1501,7 +1501,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1501 | PhysActor = null; | 1501 | PhysActor = null; |
1502 | } | 1502 | } |
1503 | 1503 | ||
1504 | // Basic Physics returns null.. joy joy joy. | 1504 | // Basic Physics can also return null as well as an exception catch. |
1505 | if (PhysActor != null) | 1505 | if (PhysActor != null) |
1506 | { | 1506 | { |
1507 | PhysActor.SOPName = this.Name; // save object into the PhysActor so ODE internals know the joint/body info | 1507 | PhysActor.SOPName = this.Name; // save object into the PhysActor so ODE internals know the joint/body info |
@@ -1509,10 +1509,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1509 | DoPhysicsPropertyUpdate(RigidBody, true); | 1509 | DoPhysicsPropertyUpdate(RigidBody, true); |
1510 | PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); | 1510 | PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); |
1511 | } | 1511 | } |
1512 | else | ||
1513 | { | ||
1514 | m_log.DebugFormat("[SOP]: physics actor is null for {0} with parent {1}", UUID, this.ParentGroup.UUID); | ||
1515 | } | ||
1516 | } | 1512 | } |
1517 | } | 1513 | } |
1518 | } | 1514 | } |