aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index ef37f63..fa49f9f 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -436,7 +436,19 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
436 436
437 KillEntity(sp.Scene, sp.LocalId); 437 KillEntity(sp.Scene, sp.LocalId);
438 438
439 sp.MakeChildAgent(); 439 // MT wrapped this in a try because I've been seeing an
440 // eception here, but no line number. Need to see if SP is
441 // valid. This may move the exception to another place
442 // where it can be debugged better.
443 try
444 {
445 sp.MakeChildAgent();
446 }
447 catch(Exception e)
448 {
449 m_log.Error("Exception on MakeChildAgent: " + e.ToString());
450 }
451
440 // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone 452 // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone
441 453
442 if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg)) 454 if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg))