aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs4
-rw-r--r--OpenSim/Server/Handlers/Profiles/UserProfilesConnector.cs5
2 files changed, 3 insertions, 6 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
diff --git a/OpenSim/Server/Handlers/Profiles/UserProfilesConnector.cs b/OpenSim/Server/Handlers/Profiles/UserProfilesConnector.cs
index 5a24ee3..f9a520a 100644
--- a/OpenSim/Server/Handlers/Profiles/UserProfilesConnector.cs
+++ b/OpenSim/Server/Handlers/Profiles/UserProfilesConnector.cs
@@ -106,11 +106,6 @@ namespace OpenSim.Server.Handlers.Profiles
106 Server.AddJsonRPCHandler("avatar_properties_update", handler.AvatarPropertiesUpdate); 106 Server.AddJsonRPCHandler("avatar_properties_update", handler.AvatarPropertiesUpdate);
107 Server.AddJsonRPCHandler("avatar_interests_update", handler.AvatarInterestsUpdate); 107 Server.AddJsonRPCHandler("avatar_interests_update", handler.AvatarInterestsUpdate);
108 Server.AddJsonRPCHandler("image_assets_request", handler.AvatarImageAssetsRequest); 108 Server.AddJsonRPCHandler("image_assets_request", handler.AvatarImageAssetsRequest);
109// Server.AddJsonRPCHandler("user_preferences_request", handler.UserPreferencesRequest);
110// Server.AddJsonRPCHandler("user_preferences_update", handler.UserPreferencesUpdate);
111// Server.AddJsonRPCHandler("user_account_create", handler.UserAccountCreate);
112// Server.AddJsonRPCHandler("user_account_auth", handler.UserAccountAuth);
113// Server.AddJsonRPCHandler("user_account_test", handler.UserAccountTest);
114 Server.AddJsonRPCHandler("user_data_request", handler.RequestUserAppData); 109 Server.AddJsonRPCHandler("user_data_request", handler.RequestUserAppData);
115 Server.AddJsonRPCHandler("user_data_update", handler.UpdateUserAppData); 110 Server.AddJsonRPCHandler("user_data_update", handler.UpdateUserAppData);
116 } 111 }