do not try xbakes on HG

melanie
UbitUmarov 2016-12-10 02:03:00 +00:00
parent a3e2a42f0d
commit f57403909f
1 changed files with 6 additions and 5 deletions

View File

@ -2125,11 +2125,12 @@ namespace OpenSim.Region.Framework.Scenes
if (!gotCrossUpdate && !isNPC)
Scene.SendLayerData(ControllingClient);
// HG delay
if((m_teleportFlags & TeleportFlags.ViaHGLogin) != 0)
// HG
bool isHGTP = (m_teleportFlags & TeleportFlags.ViaHGLogin) != 0;
if(isHGTP)
{
Thread.Sleep(500);
m_log.DebugFormat("[CompleteMovement] HG delay: {0}ms", Util.EnvironmentTickCountSubtract(ts));
// ControllingClient.SendNameReply(m_uuid, Firstname, Lastname);
m_log.DebugFormat("[CompleteMovement] HG");
}
m_previusParcelHide = false;
@ -2151,7 +2152,7 @@ namespace OpenSim.Region.Framework.Scenes
cachedbaked = true;
else
{
if (m_scene.AvatarFactory != null)
if (m_scene.AvatarFactory != null && !isHGTP)
cachedbaked = m_scene.AvatarFactory.ValidateBakedTextureCache(this);
// not sure we need this