mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
do not try xbakes on HG
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user