mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Add RegionManager level and the ability to use literal XML to the dynamic floater module
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user