if sited avatar cross fails, dont add it to physics and dont mess scripts

(?)
avinationmerge
UbitUmarov 2014-07-22 16:28:30 +01:00
parent fe900b28c6
commit f394fabfc0
1 changed files with 4 additions and 1 deletions

View File

@ -1677,7 +1677,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
m_log.WarnFormat(
"[ENTITY TRANSFER MODULE]: Region {0} would not accept update for agent {1} on cross attempt. Returning to original region.",
neighbourRegion.RegionName, agent.Name);
neighbourRegion.RegionName, agent.Name);
if (agent.ParentUUID != UUID.Zero && agent.ParentID == 0)
return false;
ReInstantiateScripts(agent);
agent.AddToPhysicalScene(isFlying);