diff options
author | Justin Clark-Casey (justincc) | 2011-08-31 18:03:07 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-31 18:03:07 +0100 |
commit | ca9a054bba03e58053b4000ec77a6ce6ea492ec6 (patch) | |
tree | 387572f7a8ad4332839451a6bbeea7971f1f2bde /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | move common code into AttachmentsModule.DeleteAttachmentsFromScene() (diff) | |
download | opensim-SC_OLD-ca9a054bba03e58053b4000ec77a6ce6ea492ec6.zip opensim-SC_OLD-ca9a054bba03e58053b4000ec77a6ce6ea492ec6.tar.gz opensim-SC_OLD-ca9a054bba03e58053b4000ec77a6ce6ea492ec6.tar.bz2 opensim-SC_OLD-ca9a054bba03e58053b4000ec77a6ce6ea492ec6.tar.xz |
Don't set a GridUser entry for NPCs.
Resolves http://opensimulator.org/mantis/view.php?id=5665
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/GridUser/ActivityDetector.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/GridUser/ActivityDetector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/GridUser/ActivityDetector.cs index d6063ad..4cf62ec 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/GridUser/ActivityDetector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/GridUser/ActivityDetector.cs | |||
@@ -66,7 +66,10 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser | |||
66 | public void OnMakeRootAgent(ScenePresence sp) | 66 | public void OnMakeRootAgent(ScenePresence sp) |
67 | { | 67 | { |
68 | // m_log.DebugFormat("[ACTIVITY DETECTOR]: Detected root presence {0} in {1}", sp.UUID, sp.Scene.RegionInfo.RegionName); | 68 | // m_log.DebugFormat("[ACTIVITY DETECTOR]: Detected root presence {0} in {1}", sp.UUID, sp.Scene.RegionInfo.RegionName); |
69 | m_GridUserService.SetLastPosition(sp.UUID.ToString(), UUID.Zero, sp.Scene.RegionInfo.RegionID, sp.AbsolutePosition, sp.Lookat); | 69 | |
70 | if (sp.PresenceType != PresenceType.Npc) | ||
71 | m_GridUserService.SetLastPosition( | ||
72 | sp.UUID.ToString(), UUID.Zero, sp.Scene.RegionInfo.RegionID, sp.AbsolutePosition, sp.Lookat); | ||
70 | } | 73 | } |
71 | 74 | ||
72 | public void OnNewClient(IClientAPI client) | 75 | public void OnNewClient(IClientAPI client) |