@setdebug_<setting>:<value>=force changes a viewer debug setting. Only whitelisted settings can be changed; any other name is ignored.

Syntax

@setdebug_<setting>:<value>=force

Parameters

CommandSettingTypeMeaning
@setdebug_avatarsex:<0|1>=forceAvatarSexU320 female, 1 male (the avatar-creation gender setting)
@setdebug_renderresolutiondivisor:<n>=forceRenderResolutionDivisorU32Renders 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.

Specification

Caveats

Examples

llOwnerSay("@setdebug_renderresolutiondivisor:6=force");   // blurry
llSleep(30.0);
llOwnerSay("@setdebug_renderresolutiondivisor:1=force");   // normal

Notes

The @getdebug_… whitelist is longer (it adds RestrainedLoveForbidGiveToRLV, RestrainedLoveNoSetEnv and, in Marine's viewer, WindLightUseAtmosShaders). Those can be read but not set; see @getdebug_….

See also

Implementation notes

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.

Client differences

Comparison with RLVa

No significant differences from RLVa's @setdebug_.