mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Field PostEffect::isEnabled -> enabled followup
This commit is contained in:
parent
9c4191702c
commit
6ee6d7c717
3 changed files with 3 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ function configureCanvas()
|
||||||
// It's formatted as AATypexAALevel
|
// It's formatted as AATypexAALevel
|
||||||
// So, FXAAx4 or MLAAx2
|
// So, FXAAx4 or MLAAx2
|
||||||
if ( isObject( FXAA_PostEffect ) )
|
if ( isObject( FXAA_PostEffect ) )
|
||||||
FXAA_PostEffect.isEnabled = ( %aa > 0 ) ? true : false;
|
FXAA_PostEffect.Enabled = ( %aa > 0 ) ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function GuiCanvas::modeStrToPrefs(%this, %modeStr)
|
function GuiCanvas::modeStrToPrefs(%this, %modeStr)
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ singleton CustomMaterial( BL_ProjectedShadowMaterial )
|
||||||
function onActivateBasicLM()
|
function onActivateBasicLM()
|
||||||
{
|
{
|
||||||
// If HDR is enabled... enable the special format token.
|
// If HDR is enabled... enable the special format token.
|
||||||
if ( HDRPostFx.isEnabled )
|
if ( HDRPostFx.Enabled )
|
||||||
AL_FormatToken.enable();
|
AL_FormatToken.enable();
|
||||||
|
|
||||||
// Create render pass for projected shadow.
|
// Create render pass for projected shadow.
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ function PostFXManager::savePresetHandler( %filename )
|
||||||
{
|
{
|
||||||
%postEffect = PostFXManager.getKey(%i);
|
%postEffect = PostFXManager.getKey(%i);
|
||||||
|
|
||||||
if(isObject(%postEffect) && %postEffect.isEnabled && %postEffect.isMethod("savePresetSettings"))
|
if(isObject(%postEffect) && %postEffect.Enabled && %postEffect.isMethod("savePresetSettings"))
|
||||||
{
|
{
|
||||||
%postEffect.savePresetSettings();
|
%postEffect.savePresetSettings();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue