diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index f870b58..bc2ca4c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3527,14 +3527,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
3527 | public void UpdateGroupRotationR(Quaternion rot) | 3527 | public void UpdateGroupRotationR(Quaternion rot) |
3528 | { | 3528 | { |
3529 | m_rootPart.UpdateRotation(rot); | 3529 | m_rootPart.UpdateRotation(rot); |
3530 | 3530 | ||
3531 | /* this is done by rootpart RotationOffset set called by UpdateRotation | ||
3531 | PhysicsActor actor = m_rootPart.PhysActor; | 3532 | PhysicsActor actor = m_rootPart.PhysActor; |
3532 | if (actor != null) | 3533 | if (actor != null) |
3533 | { | 3534 | { |
3534 | actor.Orientation = m_rootPart.RotationOffset; | 3535 | actor.Orientation = m_rootPart.RotationOffset; |
3535 | m_scene.PhysicsScene.AddPhysicsActorTaint(actor); | 3536 | m_scene.PhysicsScene.AddPhysicsActorTaint(actor); |
3536 | } | 3537 | } |
3537 | 3538 | */ | |
3538 | HasGroupChanged = true; | 3539 | HasGroupChanged = true; |
3539 | ScheduleGroupForTerseUpdate(); | 3540 | ScheduleGroupForTerseUpdate(); |
3540 | } | 3541 | } |