diff options
author | Justin Clark-Casey (justincc) | 2011-12-06 16:07:24 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-12-06 16:07:24 +0000 |
commit | d33d12ba83fae18d720ef24b56cba5c17688d386 (patch) | |
tree | 1b553b5c081387330c695533afcbc8701a369830 /OpenSim | |
parent | Add test for not found response from GetTexture cap handler. (diff) | |
download | opensim-SC-d33d12ba83fae18d720ef24b56cba5c17688d386.zip opensim-SC-d33d12ba83fae18d720ef24b56cba5c17688d386.tar.gz opensim-SC-d33d12ba83fae18d720ef24b56cba5c17688d386.tar.bz2 opensim-SC-d33d12ba83fae18d720ef24b56cba5c17688d386.tar.xz |
Provide feedback as to which avatars are resending appearance informion on "appearance send" console command
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs index 28f04b3..59ad008 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs | |||
@@ -48,7 +48,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance | |||
48 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "AppearanceInfoModule")] | 48 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "AppearanceInfoModule")] |
49 | public class AppearanceInfoModule : ISharedRegionModule | 49 | public class AppearanceInfoModule : ISharedRegionModule |
50 | { | 50 | { |
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 IAvatarFactoryModule m_avatarFactory; | 54 | protected IAvatarFactoryModule m_avatarFactory; |
@@ -112,7 +112,16 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance | |||
112 | { | 112 | { |
113 | foreach (Scene scene in m_scenes.Values) | 113 | foreach (Scene scene in m_scenes.Values) |
114 | { | 114 | { |
115 | scene.ForEachRootScenePresence(sp => scene.AvatarFactory.SendAppearance(sp.UUID)); | 115 | scene.ForEachRootScenePresence( |
116 | sp => | ||
117 | { | ||
118 | MainConsole.Instance.OutputFormat( | ||
119 | "Sending appearance information for {0} to all other avatars in {1}", | ||
120 | sp.Name, scene.RegionInfo.RegionName); | ||
121 | |||
122 | scene.AvatarFactory.SendAppearance(sp.UUID); | ||
123 | } | ||
124 | ); | ||
116 | } | 125 | } |
117 | } | 126 | } |
118 | } | 127 | } |