Add RegionManager level and the ability to use literal XML to the dynamic floater module

This commit is contained in:
Melanie
2013-05-04 00:45:27 +02:00
parent 4904d40138
commit 2332453974
4 changed files with 17 additions and 5 deletions

View File

@@ -110,8 +110,11 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
{
foreach (MenuItemData d in m_menuItems[UUID.Zero])
{
if (d.Mode == UserMode.God && (!m_scene.Permissions.IsGod(agentID)))
continue;
if (!m_scene.Permissions.IsGod(agentID))
{
if (d.Mode == UserMode.RegionManager && (!m_scene.Permissions.IsAdministrator(agentID)))
continue;
}
OSDMap loc = null;
switch (d.Location)