mirror of
https://github.com/opensim/opensim.git
synced 2026-08-14 09:25:45 +08:00
fetch SOP.RotationOffset once in UpdateRotation() and compare rather than fetch four separate times.
No functional change.
This commit is contained in:
@@ -1769,7 +1769,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
Rotation = Quaternion.CreateFromEulers(angle);
|
||||
// m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, Rotation);
|
||||
|
||||
|
||||
Vector3 agent_control_v3 = new Vector3();
|
||||
HandleMoveToTargetUpdate(ref agent_control_v3);
|
||||
AddNewMovement(agent_control_v3);
|
||||
|
||||
Reference in New Issue
Block a user