aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 27601d2..bf6025e 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -553,7 +553,7 @@ namespace OpenSim.Region.Environment.Scenes
553 553
554 if (ParentGroup != null && ParentGroup.RootPart != null) 554 if (ParentGroup != null && ParentGroup.RootPart != null)
555 { 555 {
556 if (_parentID != 0) 556 if (_parentID != 0 && PhysActor != null)
557 { 557 {
558 Vector3 resultingposition = GetWorldPosition(); 558 Vector3 resultingposition = GetWorldPosition();
559 PhysActor.Position = new PhysicsVector(resultingposition.X, resultingposition.Y, resultingposition.Z); 559 PhysActor.Position = new PhysicsVector(resultingposition.X, resultingposition.Y, resultingposition.Z);