aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar
diff options
context:
space:
mode:
authorMelanie2011-10-25 03:16:47 +0100
committerMelanie2011-10-25 03:16:47 +0100
commit04678836c32d8d639503fb762b46ff499366bd8c (patch)
treee6163a94be920589a7f89f96b8491b6b64c25938 /OpenSim/Region/OptionalModules/Avatar
parentMerge commit '601dabb1b73a894e4f2f61abe6e9053d380008cd' into bigmerge (diff)
parentRenamed and rearranged AvatarFactoryModule to eliminate redundant lookups of ... (diff)
downloadopensim-SC_OLD-04678836c32d8d639503fb762b46ff499366bd8c.zip
opensim-SC_OLD-04678836c32d8d639503fb762b46ff499366bd8c.tar.gz
opensim-SC_OLD-04678836c32d8d639503fb762b46ff499366bd8c.tar.bz2
opensim-SC_OLD-04678836c32d8d639503fb762b46ff499366bd8c.tar.xz
Merge commit 'da794f34a56f7c88904315ae538de8f3790e6891' into bigmerge
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs12
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 }