diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 9683c38..fa1a5af 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -588,18 +588,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
588 | set | 588 | set |
589 | { | 589 | { |
590 | m_bodyRot = value; | 590 | m_bodyRot = value; |
591 | // m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot); | ||
592 | if (PhysicsActor != null) | 591 | if (PhysicsActor != null) |
593 | { | 592 | { |
594 | try | 593 | try |
595 | { | 594 | { |
596 | PhysicsActor.Orientation = value; | 595 | PhysicsActor.Orientation = m_bodyRot; |
597 | } | 596 | } |
598 | catch (Exception e) | 597 | catch (Exception e) |
599 | { | 598 | { |
600 | m_log.Error("[SCENE PRESENCE]: Orientation " + e.Message); | 599 | m_log.Error("[SCENE PRESENCE]: Orientation " + e.Message); |
601 | } | 600 | } |
602 | } | 601 | } |
602 | // m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot); | ||
603 | } | 603 | } |
604 | } | 604 | } |
605 | 605 | ||