diff options
author | Melanie | 2012-01-06 00:08:18 +0000 |
---|---|---|
committer | Melanie | 2012-01-06 00:08:18 +0000 |
commit | fdfc4ab2a8e171139caf9751a23eb75afe881c2b (patch) | |
tree | bc0d8d3066ecf5fe87e0778e23190d14a58d3bc1 /OpenSim/Region/OptionalModules/Avatar | |
parent | That needs to be callable from elsewhere! (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-fdfc4ab2a8e171139caf9751a23eb75afe881c2b.zip opensim-SC-fdfc4ab2a8e171139caf9751a23eb75afe881c2b.tar.gz opensim-SC-fdfc4ab2a8e171139caf9751a23eb75afe881c2b.tar.bz2 opensim-SC-fdfc4ab2a8e171139caf9751a23eb75afe881c2b.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs index 7e15718..39cd4c9 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs | |||
@@ -240,11 +240,16 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance | |||
240 | ScenePresence sp = scene.GetScenePresence(firstname, lastname); | 240 | ScenePresence sp = scene.GetScenePresence(firstname, lastname); |
241 | if (sp != null && !sp.IsChildAgent) | 241 | if (sp != null && !sp.IsChildAgent) |
242 | { | 242 | { |
243 | MainConsole.Instance.OutputFormat( | 243 | int rebakesRequested = scene.AvatarFactory.RequestRebake(sp, false); |
244 | "Requesting rebake of uploaded textures for {0}", | ||
245 | sp.Name, scene.RegionInfo.RegionName); | ||
246 | 244 | ||
247 | scene.AvatarFactory.RequestRebake(sp, false); | 245 | if (rebakesRequested > 0) |
246 | MainConsole.Instance.OutputFormat( | ||
247 | "Requesting rebake of {0} uploaded textures for {1} in {2}", | ||
248 | rebakesRequested, sp.Name, scene.RegionInfo.RegionName); | ||
249 | else | ||
250 | MainConsole.Instance.OutputFormat( | ||
251 | "No texture IDs available for rebake request for {0} in {1}", | ||
252 | sp.Name, scene.RegionInfo.RegionName); | ||
248 | } | 253 | } |
249 | } | 254 | } |
250 | } | 255 | } |