diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 175f718..4252bd6 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -986,6 +986,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
986 | public ScenePresence( | 986 | public ScenePresence( |
987 | IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type) | 987 | IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type) |
988 | { | 988 | { |
989 | m_scene = world; | ||
989 | AttachmentsSyncLock = new Object(); | 990 | AttachmentsSyncLock = new Object(); |
990 | AllowMovement = true; | 991 | AllowMovement = true; |
991 | IsChildAgent = true; | 992 | IsChildAgent = true; |
@@ -1000,7 +1001,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1000 | Firstname = ControllingClient.FirstName; | 1001 | Firstname = ControllingClient.FirstName; |
1001 | Lastname = ControllingClient.LastName; | 1002 | Lastname = ControllingClient.LastName; |
1002 | m_name = String.Format("{0} {1}", Firstname, Lastname); | 1003 | m_name = String.Format("{0} {1}", Firstname, Lastname); |
1003 | m_scene = world; | ||
1004 | m_uuid = client.AgentId; | 1004 | m_uuid = client.AgentId; |
1005 | LocalId = m_scene.AllocateLocalId(); | 1005 | LocalId = m_scene.AllocateLocalId(); |
1006 | 1006 | ||