mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Thank you kindly, Melanie, for:
Nothing huge, but the new button code for producing a new script does well, but the script will not allow for name change once created. It reverts back to new script.
This commit is contained in:
@@ -301,13 +301,14 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
|
||||
LLObject.ObjectFlags.ObjectMove | // tells client that you can move the object (only, no mod)
|
||||
LLObject.ObjectFlags.ObjectTransfer | // tells the client that you can /take/ the object if you don't own it
|
||||
LLObject.ObjectFlags.ObjectYouOwner | // Tells client that you're the owner of the object
|
||||
LLObject.ObjectFlags.ObjectOwnerModify | // Tells client that you're the owner of the object
|
||||
LLObject.ObjectFlags.ObjectYouOfficer // Tells client that you've got group object editing permission. Used when ObjectGroupOwned is set
|
||||
);
|
||||
|
||||
// Creating the three ObjectFlags options for this method to choose from.
|
||||
// Customize the OwnerMask
|
||||
uint objectOwnerMask = ApplyObjectModifyMasks(task.OwnerMask, objflags);
|
||||
objectOwnerMask |= (uint)LLObject.ObjectFlags.ObjectYouOwner;
|
||||
objectOwnerMask |= (uint)LLObject.ObjectFlags.ObjectYouOwner | (uint)LLObject.ObjectFlags.ObjectOwnerModify;
|
||||
|
||||
// Customize the GroupMask
|
||||
uint objectGroupMask = ApplyObjectModifyMasks(task.GroupMask, objflags);
|
||||
|
||||
Reference in New Issue
Block a user