aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 01b4f10..fb2fd07 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1163,7 +1163,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1163 return; 1163 return;
1164 } 1164 }
1165 1165
1166 m_entityTransferStateMachine.UpdateInTransit(sp.UUID, AgentTransferState.CleaningUp); 1166 //shut this up for now
1167 m_entityTransferStateMachine.ResetFromTransit(sp.UUID);
1168
1169 //m_entityTransferStateMachine.UpdateInTransit(sp.UUID, AgentTransferState.CleaningUp);
1167 1170
1168 sp.HasMovedAway(!(OutSideViewRange || logout)); 1171 sp.HasMovedAway(!(OutSideViewRange || logout));
1169 1172
@@ -1181,6 +1184,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1181 sp.CloseChildAgents(childRegionsToClose); 1184 sp.CloseChildAgents(childRegionsToClose);
1182 } 1185 }
1183 1186
1187
1184 // if far jump we do need to close anyways 1188 // if far jump we do need to close anyways
1185 if (NeedsClosing(reg, OutSideViewRange)) 1189 if (NeedsClosing(reg, OutSideViewRange))
1186 { 1190 {
@@ -1194,6 +1198,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1194 break; 1198 break;
1195 } while (--count > 0); 1199 } while (--count > 0);
1196 1200
1201
1197 if (!sp.IsDeleted) 1202 if (!sp.IsDeleted)
1198 { 1203 {
1199 m_log.DebugFormat( 1204 m_log.DebugFormat(
@@ -2464,7 +2469,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2464 2469
2465 //Scene.CloseAgent(sp.UUID, false); 2470 //Scene.CloseAgent(sp.UUID, false);
2466 sp.IsInTransit = false; 2471 sp.IsInTransit = false;
2467 m_entityTransferStateMachine.ResetFromTransit(id); // this needs cleanup
2468 //m_entityTransferStateMachine.SetAgentArrivedAtDestination(id); 2472 //m_entityTransferStateMachine.SetAgentArrivedAtDestination(id);
2469 } 2473 }
2470 2474