mirror of
https://github.com/opensim/opensim.git
synced 2026-07-21 15:35:41 +08:00
osSetPrimitiveParams(key prim, list rules) silent refused if owner of script and prim has no modify rights on that prim
This commit is contained in:
@@ -15178,7 +15178,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (!UUID.TryParse(prim, out UUID id))
|
||||
return;
|
||||
SceneObjectPart obj = World.GetSceneObjectPart(id);
|
||||
if (obj == null || obj.OwnerID.NotEqual(m_host.OwnerID))
|
||||
if (obj == null || obj.OwnerID.NotEqual(m_host.OwnerID) || (obj.ParentGroup.RootPart.OwnerMask & (uint)PermissionMask.Modify) == 0)
|
||||
return;
|
||||
|
||||
uint rulesParsed = 0;
|
||||
|
||||
Reference in New Issue
Block a user