@setdebug_<setting>:<value>=force changes a viewer debug setting. Only whitelisted settings can be changed; any other name is ignored.
@setdebug_<setting>:<value>=force
| Command | Setting | Type | Meaning |
|---|---|---|---|
@setdebug_avatarsex:<0|1>=force | AvatarSex | U32 | 0 female, 1 male (the avatar-creation gender setting) |
@setdebug_renderresolutiondivisor:<n>=force | RenderResolutionDivisor | U32 | Renders the world at 1/n resolution, a "blur" effect. 1 is normal. |
The setting name is case-insensitive. The value is parsed according to the setting's type: atoi for integers and booleans, atof for floats, or the raw string, which is lower case because the whole command is lower-cased.
RenderResolutionDivisor, Marine makes the change non-persistent unless it is set back to the default, so a blur doesn't survive a relog.:1.llOwnerSay("@setdebug_renderresolutiondivisor:6=force"); // blurry
llSleep(30.0);
llOwnerSay("@setdebug_renderresolutiondivisor:1=force"); // normal
The @getdebug_… whitelist is longer (it adds RestrainedLoveForbidGiveToRLV, RestrainedLoveNoSetEnv and, in Marine's viewer, WindLightUseAtmosShaders). Those can be read but not set; see @getdebug_….
RRInterface::forceDebugSetting (RRInterface.cpp:5228-5318) looks the name up case-insensitively in mAllowedSetDebug and switches on the control type. VEC3, COL and RECT types are stubs that do nothing. The persistence tweak (KKA-668, noted "adapted from RLVa") is at 5306-5310.
setPersist(false)). Marine does this only for RenderResolutionDivisor, and only while it is non-default.atoi (fractions are dropped); this doesn't matter for the current whitelist. CoolVL logs a warning for unsupported types.No significant differences from RLVa's @setdebug_.