diff options
author | Justin Clark-Casey (justincc) | 2011-08-11 02:54:15 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-11 02:54:15 +0100 |
commit | 36f7d36fa1556d2b9356bc9bc5d9b16fc81eb96a (patch) | |
tree | 336b15fd53cda17f8026317fa77e10a6d2eaf80b /OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |
parent | get rid of intermediate local store of body rotation in ScenePresence, this i... (diff) | |
download | opensim-SC-36f7d36fa1556d2b9356bc9bc5d9b16fc81eb96a.zip opensim-SC-36f7d36fa1556d2b9356bc9bc5d9b16fc81eb96a.tar.gz opensim-SC-36f7d36fa1556d2b9356bc9bc5d9b16fc81eb96a.tar.bz2 opensim-SC-36f7d36fa1556d2b9356bc9bc5d9b16fc81eb96a.tar.xz |
instead of setting avatar rotation twice in SP.HandleAgentUpdate(), eliminate the second setting in AddNewMovement()
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index 0e313df..9b86abb 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -107,7 +107,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
107 | 107 | ||
108 | Vector3 agent_control_v3 = new Vector3(); | 108 | Vector3 agent_control_v3 = new Vector3(); |
109 | presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation); | 109 | presence.HandleMoveToTargetUpdate(ref agent_control_v3, presence.Rotation); |
110 | presence.AddNewMovement(agent_control_v3, presence.Rotation); | 110 | presence.AddNewMovement(agent_control_v3); |
111 | } | 111 | } |
112 | // | 112 | // |
113 | //// presence.DoMoveToPositionUpdate((0, presence.MoveToPositionTarget, null); | 113 | //// presence.DoMoveToPositionUpdate((0, presence.MoveToPositionTarget, null); |