mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +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
|
|
@ -87,8 +87,8 @@ MaterialManager::MaterialManager()
|
|||
Con::addVariableNotify( "$pref::Video::disableNormalMapping", callabck2 );
|
||||
Con::setVariable( "$pref::Video::disableCubemapping", "false" );
|
||||
Con::addVariableNotify( "$pref::Video::disableCubemapping", callabck2 );
|
||||
Con::setVariable( "$pref::Video::disableParallaxMapping", "false" );
|
||||
Con::addVariableNotify( "$pref::Video::disableParallaxMapping", callabck2 );
|
||||
Con::setVariable( "$pref::Video::enableParallaxMapping", "true" );
|
||||
Con::addVariableNotify( "$pref::Video::enableParallaxMapping", callabck2 );
|
||||
}
|
||||
|
||||
MaterialManager::~MaterialManager()
|
||||
|
|
@ -472,7 +472,7 @@ void MaterialManager::recalcFeaturesFromPrefs()
|
|||
Con::getBoolVariable( "$pref::Video::disableCubemapping", false ) );
|
||||
|
||||
mExclusionFeatures.setFeature( MFT_Parallax,
|
||||
Con::getBoolVariable( "$pref::Video::disableParallaxMapping", false ) );
|
||||
!Con::getBoolVariable( "$pref::Video::enableParallaxMapping", true ) );
|
||||
}
|
||||
|
||||
bool MaterialManager::_handleGFXEvent( GFXDevice::GFXDeviceEventType event_ )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue