diff options
author | BlueWall | 2013-06-05 18:42:15 -0400 |
---|---|---|
committer | BlueWall | 2013-06-05 18:42:15 -0400 |
commit | e449950030decf7e65e7d9b334ddaed25c1bd629 (patch) | |
tree | d798502de6a956e99c6cce902badab22498e9366 | |
parent | Cleanup (diff) | |
download | opensim-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
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | 4 |
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 | ||