mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fixes setter issue for image/shape/material custom inspector fields where it was not correctly passing through the changed value from the Asset Browser select
Swapped the water's disableTrueReflections variable to be enableTrueReflections for simplicity and consistency(also fixed a persistent typo) Swapped disableVerticalSync to be enableVerticalSync for simplicity and consistency Swapped disableParallaxMapping to be enableParallaxMapping for simplicity and consistency Fix click detection on slider mode entries for guiGameSettingsCtrl so the click position correctly matches the percentage Fixed problem where postFX initialization would always exec default.postfxpreset.tscript, even if a level's got it's own preset, which can cause problems Fixed range field type behavior so that editing the values applies in real time, and also consistently applies between slider and text field
This commit is contained in:
parent
280fca2fbe
commit
cd82186231
20 changed files with 91 additions and 102 deletions
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
GFXDevice * GFXDevice::smGFXDevice = NULL;
|
||||
bool GFXDevice::smWireframe = false;
|
||||
bool GFXDevice::smDisableVSync = true;
|
||||
bool GFXDevice::smEnableVSync = false;
|
||||
F32 GFXDevice::smForcedPixVersion = -1.0f;
|
||||
bool GFXDevice::smDisableOcclusionQuery = false;
|
||||
bool gDisassembleAllShaders = false;
|
||||
|
|
@ -71,8 +71,8 @@ void GFXDevice::initConsole()
|
|||
"them to return only the visibile state.\n"
|
||||
"@ingroup GFX\n" );
|
||||
|
||||
Con::addVariable( "$pref::Video::disableVerticalSync", TypeBool, &smDisableVSync,
|
||||
"Disables vertical sync on the active device.\n"
|
||||
Con::addVariable( "$pref::Video::enableVerticalSync", TypeBool, &smEnableVSync,
|
||||
"Enables vertical sync on the active device.\n"
|
||||
"@note The video mode must be reset for the change to take affect.\n"
|
||||
"@ingroup GFX\n" );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue