mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
let sp know about scene before anything else on creation
This commit is contained in:
@@ -986,6 +986,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public ScenePresence(
|
||||
IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type)
|
||||
{
|
||||
m_scene = world;
|
||||
AttachmentsSyncLock = new Object();
|
||||
AllowMovement = true;
|
||||
IsChildAgent = true;
|
||||
@@ -1000,7 +1001,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Firstname = ControllingClient.FirstName;
|
||||
Lastname = ControllingClient.LastName;
|
||||
m_name = String.Format("{0} {1}", Firstname, Lastname);
|
||||
m_scene = world;
|
||||
m_uuid = client.AgentId;
|
||||
LocalId = m_scene.AllocateLocalId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user