diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index c82d066..0640067 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -465,6 +465,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
465 | AddToPhysicalScene(); | 465 | AddToPhysicalScene(); |
466 | m_physicsActor.Flying = isFlying; | 466 | m_physicsActor.Flying = isFlying; |
467 | 467 | ||
468 | m_scene.SwapRootAgentCount(false); | ||
468 | m_scene.CommsManager.UserProfileCacheService.UpdateUserInventory(m_uuid); | 469 | m_scene.CommsManager.UserProfileCacheService.UpdateUserInventory(m_uuid); |
469 | //if (!m_gotAllObjectsInScene) | 470 | //if (!m_gotAllObjectsInScene) |
470 | //{ | 471 | //{ |
@@ -484,7 +485,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
484 | { | 485 | { |
485 | Velocity = new LLVector3(0, 0, 0); | 486 | Velocity = new LLVector3(0, 0, 0); |
486 | m_isChildAgent = true; | 487 | m_isChildAgent = true; |
487 | 488 | m_scene.SwapRootAgentCount(true); | |
488 | RemoveFromPhysicalScene(); | 489 | RemoveFromPhysicalScene(); |
489 | 490 | ||
490 | //this.Pos = new LLVector3(128, 128, 70); | 491 | //this.Pos = new LLVector3(128, 128, 70); |