mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Excelsior!
This commit is contained in:
@@ -229,9 +229,16 @@ namespace OpenSim
|
||||
UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword);
|
||||
if (masterAvatar != null)
|
||||
{
|
||||
m_log.Notice("Parcels - Found master avatar [" + masterAvatar.UUID.ToStringHyphenated() + "]");
|
||||
LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID;
|
||||
LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.Notice("Parcels - No master avatar found, using null.");
|
||||
LocalWorld.RegionInfo.MasterAvatarAssignedUUID = libsecondlife.LLUUID.Zero;
|
||||
LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager);
|
||||
}
|
||||
|
||||
LocalWorld.StartTimer();
|
||||
}
|
||||
|
||||
@@ -265,6 +265,8 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
agentData.lastname = (string)requestData["lastname"];
|
||||
agentData.AgentID = new LLUUID((string)requestData["agent_id"]);
|
||||
agentData.circuitcode = Convert.ToUInt32(requestData["circuit_code"]);
|
||||
agentData.CapsPath = (string)requestData["caps_path"];
|
||||
|
||||
if (requestData.ContainsKey("child_agent") && requestData["child_agent"].Equals("1"))
|
||||
{
|
||||
agentData.child = true;
|
||||
|
||||
Reference in New Issue
Block a user