diff options
Merge commit 'da794f34a56f7c88904315ae538de8f3790e6891' into bigmerge
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs index 77e7acf..2cef8a9 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance | |||
51 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 51 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
52 | 52 | ||
53 | protected Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>(); | 53 | protected Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>(); |
54 | protected IAvatarFactory m_avatarFactory; | 54 | protected IAvatarFactoryModule m_avatarFactory; |
55 | 55 | ||
56 | public string Name { get { return "Appearance Information Module"; } } | 56 | public string Name { get { return "Appearance Information Module"; } } |
57 | 57 | ||
@@ -106,14 +106,14 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance | |||
106 | { | 106 | { |
107 | foreach (Scene scene in m_scenes.Values) | 107 | foreach (Scene scene in m_scenes.Values) |
108 | { | 108 | { |
109 | scene.ForEachClient( | 109 | scene.ForEachScenePresence( |
110 | delegate(IClientAPI client) | 110 | delegate(ScenePresence sp) |
111 | { | 111 | { |
112 | if (client is LLClientView && !((LLClientView)client).ChildAgentStatus()) | 112 | if (sp.ControllingClient is LLClientView && !((LLClientView)sp.ControllingClient).ChildAgentStatus()) |
113 | { | 113 | { |
114 | bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(client); | 114 | bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp); |
115 | MainConsole.Instance.OutputFormat( | 115 | MainConsole.Instance.OutputFormat( |
116 | "{0} baked appearance texture is {1}", client.Name, bakedTextureValid ? "OK" : "corrupt"); | 116 | "{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "corrupt"); |
117 | } | 117 | } |
118 | }); | 118 | }); |
119 | } | 119 | } |