mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Add a property to determine if a link set is stored in the database. Also, fix
a bug where "Force object permissive" god action would fail to reset child prim permissions.
This commit is contained in:
@@ -307,6 +307,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
private bool m_isBackedUp;
|
||||
|
||||
public bool IsBackedUp
|
||||
{
|
||||
get { return m_isBackedUp; }
|
||||
}
|
||||
|
||||
protected MapAndArray<UUID, SceneObjectPart> m_parts = new MapAndArray<UUID, SceneObjectPart>();
|
||||
|
||||
protected ulong m_regionHandle;
|
||||
@@ -3431,6 +3436,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
bool god = Scene.Permissions.IsGod(AgentID);
|
||||
|
||||
if (field == 1 && god)
|
||||
{
|
||||
ForEachPart(part =>
|
||||
{
|
||||
part.BaseMask = RootPart.BaseMask;
|
||||
});
|
||||
}
|
||||
|
||||
AdjustChildPrimPermissions();
|
||||
|
||||
if (field == 1 && god) // Base mask was set. Update all child part inventories
|
||||
|
||||
Reference in New Issue
Block a user