Stop owners from duplicating no-copy objects in-world
parent
a5343c5404
commit
1c30111c7a
|
@ -670,6 +670,13 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
|
||||||
//They can't even edit the object
|
//They can't even edit the object
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
SceneObjectPart part = scene.GetSceneObjectPart(objectID);
|
||||||
|
if (part == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
if ((part.OwnerMask & PERM_COPY) == 0)
|
||||||
|
return false;
|
||||||
|
|
||||||
//If they can rez, they can duplicate
|
//If they can rez, they can duplicate
|
||||||
return CanRezObject(objectCount, owner, objectPosition, scene);
|
return CanRezObject(objectCount, owner, objectPosition, scene);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue