lock set appearence during ValidateBakedTextureCache there seems to be a
overlap in same casesavinationmerge
parent
998e3d435a
commit
9aa6389b8b
|
@ -487,6 +487,9 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
|||
public bool ValidateBakedTextureCache(IScenePresence sp)
|
||||
{
|
||||
bool defonly = true; // are we only using default textures
|
||||
|
||||
lock (m_setAppearanceLock)
|
||||
{
|
||||
IAssetService cache = m_scene.AssetService;
|
||||
IBakedTextureModule bakedModule = m_scene.RequestModuleInterface<IBakedTextureModule>();
|
||||
WearableCacheItem[] wearableCache = null;
|
||||
|
@ -612,6 +615,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
|||
}
|
||||
|
||||
sp.Appearance.WearableCacheItems = wearableCache;
|
||||
}
|
||||
|
||||
m_log.DebugFormat("[AVFACTORY]: Completed texture check for {0} {1} {2} {3}", sp.Name, sp.UUID, hits, defonly.ToString());
|
||||
// debug
|
||||
|
|
Loading…
Reference in New Issue