diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index b708d04..ffb9d36 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -785,7 +785,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
785 | new PhysicsVector(Scale.X, Scale.Y, Scale.Z), | 785 | new PhysicsVector(Scale.X, Scale.Y, Scale.Z), |
786 | new Quaternion(RotationOffset.W, RotationOffset.X, | 786 | new Quaternion(RotationOffset.W, RotationOffset.X, |
787 | RotationOffset.Y, RotationOffset.Z), RigidBody); | 787 | RotationOffset.Y, RotationOffset.Z), RigidBody); |
788 | 788 | PhysActor.LocalID = LocalId; | |
789 | 789 | ||
790 | DoPhysicsPropertyUpdate(RigidBody, true); | 790 | DoPhysicsPropertyUpdate(RigidBody, true); |
791 | } | 791 | } |
@@ -1305,6 +1305,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1305 | new PhysicsVector(Scale.X, Scale.Y, Scale.Z), | 1305 | new PhysicsVector(Scale.X, Scale.Y, Scale.Z), |
1306 | new Quaternion(RotationOffset.W, RotationOffset.X, | 1306 | new Quaternion(RotationOffset.W, RotationOffset.X, |
1307 | RotationOffset.Y, RotationOffset.Z), usePhysics); | 1307 | RotationOffset.Y, RotationOffset.Z), usePhysics); |
1308 | PhysActor.LocalID = LocalId; | ||
1308 | DoPhysicsPropertyUpdate(usePhysics, true); | 1309 | DoPhysicsPropertyUpdate(usePhysics, true); |
1309 | } | 1310 | } |
1310 | else | 1311 | else |