aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorBlueWall2013-06-05 18:42:15 -0400
committerBlueWall2013-06-05 18:42:15 -0400
commite449950030decf7e65e7d9b334ddaed25c1bd629 (patch)
treed798502de6a956e99c6cce902badab22498e9366 /OpenSim
parentCleanup (diff)
downloadopensim-SC_OLD-e449950030decf7e65e7d9b334ddaed25c1bd629.zip
opensim-SC_OLD-e449950030decf7e65e7d9b334ddaed25c1bd629.tar.gz
opensim-SC_OLD-e449950030decf7e65e7d9b334ddaed25c1bd629.tar.bz2
opensim-SC_OLD-e449950030decf7e65e7d9b334ddaed25c1bd629.tar.xz
Prevent processing for Npc
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
index 13f0167..a97c9b4 100644
--- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
@@ -62,7 +62,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.UserProfiles
62 // count. The entries are removed when the interest count reaches 0. 62 // count. The entries are removed when the interest count reaches 0.
63 Dictionary<UUID,UUID> classifiedCache = new Dictionary<UUID, UUID>(); 63 Dictionary<UUID,UUID> classifiedCache = new Dictionary<UUID, UUID>();
64 Dictionary<UUID,int> classifiedInterest = new Dictionary<UUID, int>(); 64 Dictionary<UUID,int> classifiedInterest = new Dictionary<UUID, int>();
65 Object classifiedLock;
66 65
67 public Scene Scene 66 public Scene Scene
68 { 67 {
@@ -170,6 +169,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.UserProfiles
170 169
171 void HandleOnMakeRootAgent (ScenePresence obj) 170 void HandleOnMakeRootAgent (ScenePresence obj)
172 { 171 {
172 if(obj.PresenceType == PresenceType.Npc)
173 return;
174
173 GetImageAssets(((IScenePresence)obj).UUID); 175 GetImageAssets(((IScenePresence)obj).UUID);
174 } 176 }
175 177