diff options
author | Justin Clark-Casey (justincc) | 2011-08-02 23:41:12 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-02 23:41:12 +0100 |
commit | c122489e0947300753281e88771b7a74d49869c7 (patch) | |
tree | c8b0f67e85f883cd1e9a1ff3ff411c7eca08e64f /OpenSim/ApplicationPlugins | |
parent | If GetRegionByName can't match something in the local db, then search the hyp... (diff) | |
download | opensim-SC_OLD-c122489e0947300753281e88771b7a74d49869c7.zip opensim-SC_OLD-c122489e0947300753281e88771b7a74d49869c7.tar.gz opensim-SC_OLD-c122489e0947300753281e88771b7a74d49869c7.tar.bz2 opensim-SC_OLD-c122489e0947300753281e88771b7a74d49869c7.tar.xz |
Partially fix autopilot/go here
This now works again except that it requires a click or avatar mvmt to get going
This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over.
Even clicking is enough to trigger.
This will be improved presently.
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs index 4333ef1..6ec11ef 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs | |||
@@ -169,7 +169,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory.Tests | |||
169 | float y = Convert.ToSingle(rdata.Parameters[PARM_MOVE_Y]); | 169 | float y = Convert.ToSingle(rdata.Parameters[PARM_MOVE_Y]); |
170 | float z = Convert.ToSingle(rdata.Parameters[PARM_MOVE_Z]); | 170 | float z = Convert.ToSingle(rdata.Parameters[PARM_MOVE_Z]); |
171 | Vector3 vector = new Vector3(x,y,z); | 171 | Vector3 vector = new Vector3(x,y,z); |
172 | presence.DoAutoPilot(0,vector,presence.ControllingClient); | 172 | presence.DoMoveToPosition(0, vector, presence.ControllingClient); |
173 | } | 173 | } |
174 | catch (Exception e) | 174 | catch (Exception e) |
175 | { | 175 | { |