@setdebug_<setting>:<value>=force writes a viewer debug setting. Only the settings marked writable in RLVa's whitelist can be set; this is a family of commands handled by RLVa's RlvExtGetSet extension rather than by the behavior dictionary.
@setdebug_<setting>:<value>=force
| Setting | Get | Set | Type / value | Notes |
|---|---|---|---|---|
AvatarSex | yes | yes | boolean (pseudo) | Not a real setting. Get returns the last value set through @setdebug_avatarsex (the stored text, verbatim) or, if none, 1 for a male shape and 0 otherwise. Setting it changes nothing on the avatar; it only stores the value for this session. |
AspectRatio | yes | no | float (pseudo) | World view width ÷ height, formatted %.3f. |
RenderResolutionDivisor | yes | yes | U32 | Renders the 3D scene at 1/n resolution (pixelation). Ignored by the renderer unless n > 1 and smaller than the window size. |
RestrainedLoveForbidGiveToRLV | yes | no | boolean | User setting: forbid giving folders into #RLV. |
RestrainedLoveNoSetEnv | yes | no | boolean | User setting that disables @setenv. |
WindLightUseAtmosShaders | yes | no | boolean | Deprecated setting, always true in this viewer. |
Setting names are matched case-insensitively. Booleans are reported as 0/1.
RLV_RET_FAILED_LOCK if an object other than the sender holds @setdebug.RLV_RET_FAILED_UNKNOWN; a value that does not parse for the setting's type gives RLV_RET_FAILED_OPTION.LLStringUtil::convertToU32, booleans convertToBOOL (accepts forms such as 1/0/true/false).llOwnerSay("@setdebug_renderresolutiondivisor:4=force"); // blurry world
llOwnerSay("@setdebug_renderresolutiondivisor:1=force"); // back to normal
setdebug_x resolves to RLV_BHVR_UNKNOWN (rlvhelper.cpp:436-458), so processForceCommand passes it to the registered command handlers (rlvhandler.cpp:2900-2902, 438-450). RlvEnvironment and RlvExtGetSet are registered at rlvhandler.cpp:1563-1564._ must be getdebug/setdebug and something must follow the _ (rlvextensions.cpp:67-96).rlvextensions.cpp:33-52; write rlvextensions.cpp:209-276.No significant differences from RLV's @setdebug_.