diff options
author | UbitUmarov | 2015-09-30 06:05:28 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-30 06:05:28 +0100 |
commit | 0151c773e20a3520f33d0b82fa91b66455ce4a82 (patch) | |
tree | c22a46f0509b519b12a553727a3e49eb7dc12c03 | |
parent | clamp all draw distance changes within region limits (diff) | |
download | opensim-SC_OLD-0151c773e20a3520f33d0b82fa91b66455ce4a82.zip opensim-SC_OLD-0151c773e20a3520f33d0b82fa91b66455ce4a82.tar.gz opensim-SC_OLD-0151c773e20a3520f33d0b82fa91b66455ce4a82.tar.bz2 opensim-SC_OLD-0151c773e20a3520f33d0b82fa91b66455ce4a82.tar.xz |
let sp know about scene before anything else on creation
Diffstat (limited to '')
-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 | ||