only try external baked texture module on login
parent
395903d58f
commit
ab4df26309
|
@ -551,13 +551,24 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
|||
m_log.Debug("[ValidateBakedCache] have valid local cache");
|
||||
}
|
||||
|
||||
bool checkExternal = false;
|
||||
|
||||
if (!wearableCacheValid)
|
||||
{
|
||||
ScenePresence ssp = null;
|
||||
if (sp is ScenePresence)
|
||||
{
|
||||
ssp = (ScenePresence)sp;
|
||||
checkExternal = (((uint)ssp.TeleportFlags & (uint)TeleportFlags.ViaLogin) != 0) &&
|
||||
bakedModule != null;
|
||||
}
|
||||
}
|
||||
|
||||
if (checkExternal)
|
||||
{
|
||||
hits = 0;
|
||||
bool gotbacked = false;
|
||||
|
||||
if (bakedModule != null)
|
||||
{
|
||||
m_log.Debug("[ValidateBakedCache] local cache invalid, calling bakedModule");
|
||||
try
|
||||
{
|
||||
|
@ -589,7 +600,6 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
|||
}
|
||||
gotbacked = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (gotbacked)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue