@edit=n stops the user editing objects (Build/Edit floater, selection) and opening their contents. @edit:<uuid>=add adds an exception for one object. It also turns off several "x-ray" features that would reveal hidden objects: beacons, highlighting of transparent prims, and hiding of selected objects.
@edit=<n|y>
@edit:<uuid>=<add|rem>
@edit_sec=<n|y> (undocumented, see Caveats)
llGetLinkKey(LINK_ROOT) or the object's key as seen in-world).When a selection or edit is attempted, canEdit() refuses it if any of the following is true:
@edit is active and has no applicable exception for the root UUID (normal exception rules: any object's exception counts, unless @permissive or _sec applies);Separately, a cached flag that is set whenever any @edit (or @edit_sec) restriction exists, exceptions not considered, does all of the following:
@edit:<uuid> exception lets the object be selected, but in Marine's current code it probably can't really be edited or opened. Test before relying on edit exceptions.@edit_sec isn't in the spec, but the generic exception logic (containsWithoutException) already looks for edit_sec, where only exceptions from the same object count. The cached flag is only refreshed when a behavior named exactly edit is added or removed, so @edit_sec on its own blocks selection but doesn't close the Build floater or disable beacons until some @edit change happens.@edit immediately turns off beacons, highlights and debug alpha.// No editing, except this very object
llOwnerSay("@edit=n,edit:" + (string)llGetLinkKey(LINK_ROOT) + "=add");
RRInterface::canEdit(): RRInterface.cpp 6142-6151. containsWithoutException(): 1053-1091.mContainsEdit = containsWithoutException("edit"), which with no exception argument is contains("edit") || contains("edit_sec") (436). It is only recomputed when var == "edit".sShowDebugAlpha).canEdit()), lltoolgrab.cpp 530-536 (grab), llviewermenu.cpp 3210-3420 / 3536-3545 / 8060-8070 / 9888-9925 / 10158-10215 / 10498-10515, llfloaterbeacons.cpp 66-78, pipeline.cpp 3305-3316, llvovolume.cpp 5355-5363, lltoolmgr.cpp 342, llagent.cpp 310-325.canEdit() (mkrlinterface.cpp 7282-7315) returns true straight away when no @edit/@edit_sec is active. So @editobj, @editworld and @editattach are only checked when @edit is also in force (see those pages). In Marine's viewer they work on their own.@interact check sits inside the same early return, so @interact alone doesn't block selection through canEdit() there. Other CoolVL call sites may still check @interact separately.BeaconAlwaysOn and debug alpha, where Marine turns off each beacon type individually.This command works differently from RLVa's @edit; see the comparison.