@edit=n stops the user from editing (selecting in build mode) any object, rezzed or attached. Exceptions added with @edit:<uuid>=add name individual linksets that remain editable.
It is the umbrella of a family of four edit restrictions that all feed the same check (RlvActions::canEdit): @editobj (block specific objects), @editattach (block attachments) and @editworld (block rezzed objects).
@edit=<n|add> restrict editing
@edit=<y|rem> lift the restriction
@edit:<uuid>=<add|n> allow editing the object <uuid>
@edit:<uuid>=<rem|y> remove that exception
getRootEdit()), so give the root prim's key to cover a whole linkset. The option must parse as a UUID or the command fails with an option error.RLV_OPTION_NONE_OR_EXCEPTION: the plain form is reference-counted as a restriction, the exception form is not. Exceptions are stored globally, so an exception added by any object applies against every object's @edit.@edit has no _sec variant, and @permissive has no effect on it: exceptions are always honored permissively.canHighlightTransparent also checks @showloc).RlvActions::canBuild requires both @edit and @rez to block it).@edit or @rez is held (rlvCanDeleteOrReturn).canEdit; however the selection tool separately refuses to select objects beyond the fartouch range.@edit without exceptions, or @editattach plus @editworld).// No editing, except this very object's linkset
llOwnerSay("@edit=n,edit:" + (string)llGetLinkKey(LINK_ROOT) + "=add");
RlvActions::canEdit(pObj)): an object is editable if (no @edit, or its root is an @edit exception) and (no @editobj, or its root is not listed by @editobj) and (it is an attachment and @editattach is not held, or it is rezzed and @editworld is not held).@edit exception does not override @editobj, @editattach or @editworld.rlvhelper.cpp 108 as RlvBehaviourGenericToggleProcessor<RLV_BHVR_EDIT, RLV_OPTION_NONE_OR_EXCEPTION>; option handling in rlvhandler.cpp 1796-1826; toggle handler 2060-2083.rlvactions.cpp 436-483 (canEdit for check types All/Some/Nothing and per-object), 415-426 (canBuild), 681-686 (canHighlightTransparent); rlvcommon.cpp 858-883 (delete/return).llselectmgr.cpp 5168-5185, lltoolselect.cpp 88-110, lltoolface.cpp 113, llglsandbox.cpp 85 and 272, llviewermenu.cpp 4208, llfloateropenobject.cpp 109 and llviewerobject.cpp 7341.This command works differently from RLV's @edit; see the comparison.