diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index fa49f9f..ef37f63 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -436,19 +436,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
436 | 436 | ||
437 | KillEntity(sp.Scene, sp.LocalId); | 437 | KillEntity(sp.Scene, sp.LocalId); |
438 | 438 | ||
439 | // MT wrapped this in a try because I've been seeing an | 439 | sp.MakeChildAgent(); |
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 | |||
452 | // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone | 440 | // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone |
453 | 441 | ||
454 | if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg)) | 442 | if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg)) |