Protect one more update of the baked texture hashes.
parent
681fbda4b6
commit
bb0ea25090
|
@ -214,8 +214,11 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
|
|
||||||
// Save the wearble hashes in the appearance
|
// Save the wearble hashes in the appearance
|
||||||
sp.Appearance.ResetTextureHashes();
|
sp.Appearance.ResetTextureHashes();
|
||||||
|
if (m_reusetextures)
|
||||||
|
{
|
||||||
foreach (CachedTextureRequestArg arg in hashes)
|
foreach (CachedTextureRequestArg arg in hashes)
|
||||||
sp.Appearance.SetTextureHash(arg.BakedTextureIndex,arg.WearableHashID);
|
sp.Appearance.SetTextureHash(arg.BakedTextureIndex,arg.WearableHashID);
|
||||||
|
}
|
||||||
|
|
||||||
// This appears to be set only in the final stage of the appearance
|
// This appears to be set only in the final stage of the appearance
|
||||||
// update transaction. In theory, we should be able to do an immediate
|
// update transaction. In theory, we should be able to do an immediate
|
||||||
|
|
Loading…
Reference in New Issue