Send GodLevel to viewers on login
parent
78ed9c81ff
commit
a61a41ad92
|
@ -131,7 +131,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
return canBeGod;
|
return canBeGod;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void SyncViewerState()
|
public void SyncViewerState()
|
||||||
{
|
{
|
||||||
bool canBeGod = CanBeGod();
|
bool canBeGod = CanBeGod();
|
||||||
|
|
||||||
|
|
|
@ -2015,6 +2015,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (!WaitForUpdateAgent(client))
|
if (!WaitForUpdateAgent(client))
|
||||||
// The sending region never sent the UpdateAgent data, we have to refuse
|
// The sending region never sent the UpdateAgent data, we have to refuse
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
GodController.SyncViewerState();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_log.DebugFormat("[CompleteMovement] WaitForUpdateAgent: {0}ms", Util.EnvironmentTickCountSubtract(ts));
|
m_log.DebugFormat("[CompleteMovement] WaitForUpdateAgent: {0}ms", Util.EnvironmentTickCountSubtract(ts));
|
||||||
|
|
Loading…
Reference in New Issue