Sync viewer on make root
parent
a61a41ad92
commit
9b93068054
|
@ -141,7 +141,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
if (!shoudBeGod)
|
||||
godLevel = 0;
|
||||
|
||||
if (m_viewerUiIsGod != shoudBeGod)
|
||||
if (m_viewerUiIsGod != shoudBeGod && (!m_scenePresence.IsChildAgent))
|
||||
{
|
||||
m_scenePresence.ControllingClient.SendAdminResponse(UUID.Zero, (uint)godLevel);
|
||||
m_viewerUiIsGod = shoudBeGod;
|
||||
|
|
|
@ -1290,6 +1290,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
|
||||
IsChildAgent = false;
|
||||
GodController.SyncViewerState();
|
||||
}
|
||||
|
||||
m_log.DebugFormat("[MakeRootAgent] out lock: {0}ms", Util.EnvironmentTickCountSubtract(ts));
|
||||
|
|
Loading…
Reference in New Issue