diff options
author | UbitUmarov | 2012-04-29 01:00:46 +0100 |
---|---|---|
committer | UbitUmarov | 2012-04-29 01:00:46 +0100 |
commit | c7c0d5558bc7f51f2da19782cf83362f766d831a (patch) | |
tree | 7cb8398a68485d7b3fbbcdef9ef35f4034e94018 /OpenSim/Region | |
parent | SOG bug fix in group rotations updates (diff) | |
download | opensim-SC_OLD-c7c0d5558bc7f51f2da19782cf83362f766d831a.zip opensim-SC_OLD-c7c0d5558bc7f51f2da19782cf83362f766d831a.tar.gz opensim-SC_OLD-c7c0d5558bc7f51f2da19782cf83362f766d831a.tar.bz2 opensim-SC_OLD-c7c0d5558bc7f51f2da19782cf83362f766d831a.tar.xz |
remove repeated set of group rotation to physics
Diffstat (limited to 'OpenSim/Region')
-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 | } |