28c4dc9be4
This is to partially address http://opensimulator.org/mantis/view.php?id=5769 We don't need to call SP.HandleAgentSit() again if we are within 10m since the autopilot won't trigger. By calling it twice, the position of the sitting NPC was wrongly adjusted, ending up near <0,0,0>. However, this change does mean that NPCs further than 10m away will not attempt to autopilot to the prim, though this code was broken anyway (is actually a different mechanism to normal NPC movmeent). Hopefully this can be addressed soon. |
||
---|---|---|
.. | ||
ApplicationPlugins | ||
Capabilities | ||
ConsoleClient | ||
Data | ||
Framework | ||
Region | ||
Server | ||
Services | ||
Tests | ||
Tools |