mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Remove all references to master avatar, replacing with estate owner where
appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
This commit is contained in:
@@ -56,9 +56,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
|
||||
//Now in DataSnapshotProvider module form!
|
||||
XmlNode estatedata = factory.CreateNode(XmlNodeType.Element, "estate", "");
|
||||
|
||||
UUID ownerid = m_scene.RegionInfo.MasterAvatarAssignedUUID;
|
||||
if (m_scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero)
|
||||
ownerid = m_scene.RegionInfo.EstateSettings.EstateOwner;
|
||||
ownerid = m_scene.RegionInfo.EstateSettings.EstateOwner;
|
||||
|
||||
UserAccount userInfo = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerid);
|
||||
//TODO: Change to query userserver about the master avatar UUID ?
|
||||
|
||||
Reference in New Issue
Block a user