diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneGraph.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneGraph.cs b/OpenSim/Region/Environment/Scenes/SceneGraph.cs index 8c9fdd4..da3be08 100644 --- a/OpenSim/Region/Environment/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Environment/Scenes/SceneGraph.cs | |||
@@ -574,12 +574,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
574 | } | 574 | } |
575 | } | 575 | } |
576 | 576 | ||
577 | protected internal ScenePresence CreateAndAddScenePresence(IClientAPI client, bool child, AvatarAppearance appearance) | 577 | protected internal ScenePresence CreateAndAddChildScenePresence(IClientAPI client, AvatarAppearance appearance) |
578 | { | 578 | { |
579 | ScenePresence newAvatar = null; | 579 | ScenePresence newAvatar = null; |
580 | 580 | ||
581 | newAvatar = new ScenePresence(client, m_parentScene, m_regInfo, appearance); | 581 | newAvatar = new ScenePresence(client, m_parentScene, m_regInfo, appearance); |
582 | newAvatar.IsChildAgent = child; | 582 | newAvatar.IsChildAgent = true; |
583 | 583 | ||
584 | AddScenePresence(newAvatar); | 584 | AddScenePresence(newAvatar); |
585 | 585 | ||