@attachthis_except adds an exception to the folder locks created by @attachthis and
@attachallthis, so that the user can wear the given folder even though a parent folder is locked.
It only cancels locks issued by the same object; it has no effect on another object's locks.
@attachthis_except:<folder1/.../folderN>=<add/rem> (=n / =y work the same)
#RLV, resolved with the same fuzzy, case-insensitive matching as
@attach. Only paths are meaningful here; attachment point and layer names are not interpreted.When the viewer asks whether a folder may be worn, for each object holding an attachthis:…/attachallthis:…
lock that covers the folder it walks from the folder up towards the inventory root, looking only at that object's own rules:
attachthis_except or attachallthis_except pointing at it marks it as excepted (and the walk
continues); an attachthis or attachallthis pointing at it makes it locked, full stop.attachallthis_except counts as an exception; an attachallthis lock there ends the walk, as
“locked with exception” if an exception was seen on the way up, otherwise “locked”.So the nearest rule wins, and this exception covers only the named folder; a subfolder of it is judged by the next rule above it, i.e. the parent's lock still applies to it.
isFolderLocked()) only asks whether any lock exists.canAttachCategory(…, false)).
Which UI paths use that mode was not traced.// Everything under Jewelry is locked except Jewelry/Gold (but not its subfolders)
llOwnerSay("@attachallthis:Jewelry=n,attachthis_except:Jewelry/Gold=add");
isFolderLockedWithoutException() RRInterface.cpp:1106-1164 finds objects whose lock covers the folder;
isFolderLockedWithoutExceptionAux() :1166-1238 walks the hierarchy for that object's own rules (the decision table
is at :1210-1230). Used by canAttachCategoryAux() :5644-5725.add(); it is only consulted during that walk, so on its own it does nothing.No differences found between Marine's RLV and CoolVL (mkrlinterface.cpp:1127-1300 is the same algorithm).
No significant differences from RLVa's @attachthis_except.