aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-28 23:15:51 +0100
committerJustin Clark-Casey (justincc)2011-10-28 23:15:51 +0100
commit7b46506822be1dd1559661453ebc580336487683 (patch)
treeed8c96798d6ef6c9b8b2d909c0baba8d7b490fd5 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentFor now, comment out error message on new script engine console commands. (diff)
downloadopensim-SC-7b46506822be1dd1559661453ebc580336487683.zip
opensim-SC-7b46506822be1dd1559661453ebc580336487683.tar.gz
opensim-SC-7b46506822be1dd1559661453ebc580336487683.tar.bz2
opensim-SC-7b46506822be1dd1559661453ebc580336487683.tar.xz
fetch SOP.RotationOffset once in UpdateRotation() and compare rather than fetch four separate times.
No functional change.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index ee6c708..38cdd77 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1769,7 +1769,7 @@ namespace OpenSim.Region.Framework.Scenes
1769 1769
1770 Rotation = Quaternion.CreateFromEulers(angle); 1770 Rotation = Quaternion.CreateFromEulers(angle);
1771// m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, Rotation); 1771// m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, Rotation);
1772 1772
1773 Vector3 agent_control_v3 = new Vector3(); 1773 Vector3 agent_control_v3 = new Vector3();
1774 HandleMoveToTargetUpdate(ref agent_control_v3); 1774 HandleMoveToTargetUpdate(ref agent_control_v3);
1775 AddNewMovement(agent_control_v3); 1775 AddNewMovement(agent_control_v3);