OpenSimMirror/OpenSim
Justin Clark-Casey (justincc) 28c4dc9be4 Fix NPC sitting for prims without a sit target.
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.
2011-11-05 01:38:42 +00:00
..
ApplicationPlugins Rename ForEachAvatar back to ForEachScenePresence. The other changes 2011-11-03 17:53:51 -07:00
Capabilities Save the default terrain texture UUIDs for a new region instead of leaving them as UUID.Zero. 2011-09-09 00:38:04 +01:00
ConsoleClient Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead of the other way around. 2011-10-25 20:24:21 +01:00
Data Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL. 2011-11-02 14:59:00 -07:00
Framework Restart the event queue worker threads that I accidentally disabled earlier today in 8a0a78c. 2011-10-25 23:26:21 +01:00
Region Fix NPC sitting for prims without a sit target. 2011-11-05 01:38:42 +00:00
Server Catch any exceptions exiting the top of the robust console, as we already do for the main simulator. 2011-11-02 13:16:02 +00:00
Services Drop the CopyTo parameter from Int32.MaxValue to 4096. This is a buffer size 2011-11-02 18:55:54 -07:00
Tests Get UUIDGatherer to scan notecards in the graph for asset uuids. 2011-10-22 02:16:46 +01:00
Tools remove the pointless check of the face texture struct against null in Bot.Objects_NewPrim() 2011-11-03 22:52:14 +00:00