aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index 482bf6f..aea768e 100644
--- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -214,8 +214,11 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
214 214
215 // Save the wearble hashes in the appearance 215 // Save the wearble hashes in the appearance
216 sp.Appearance.ResetTextureHashes(); 216 sp.Appearance.ResetTextureHashes();
217 foreach (CachedTextureRequestArg arg in hashes) 217 if (m_reusetextures)
218 sp.Appearance.SetTextureHash(arg.BakedTextureIndex,arg.WearableHashID); 218 {
219 foreach (CachedTextureRequestArg arg in hashes)
220 sp.Appearance.SetTextureHash(arg.BakedTextureIndex,arg.WearableHashID);
221 }
219 222
220 // This appears to be set only in the final stage of the appearance 223 // This appears to be set only in the final stage of the appearance
221 // update transaction. In theory, we should be able to do an immediate 224 // update transaction. In theory, we should be able to do an immediate