aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 4c96e4e..67048bf 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1329,8 +1329,12 @@ namespace OpenSim.Region.Environment.Scenes
1329 new PhysicsVector(Scale.X, Scale.Y, Scale.Z), 1329 new PhysicsVector(Scale.X, Scale.Y, Scale.Z),
1330 new Quaternion(RotationOffset.W, RotationOffset.X, 1330 new Quaternion(RotationOffset.W, RotationOffset.X,
1331 RotationOffset.Y, RotationOffset.Z), usePhysics); 1331 RotationOffset.Y, RotationOffset.Z), usePhysics);
1332 PhysActor.LocalID = LocalId; 1332
1333 DoPhysicsPropertyUpdate(usePhysics, true); 1333 if (PhysActor != null)
1334 {
1335 PhysActor.LocalID = LocalId;
1336 DoPhysicsPropertyUpdate(usePhysics, true);
1337 }
1334 } 1338 }
1335 else 1339 else
1336 { 1340 {