Field PostEffect::isEnabled -> enabled followup

This commit is contained in:
AzaezelX 2020-11-10 03:07:40 -06:00 committed by Lukas Aldershaab
parent 9c4191702c
commit 6ee6d7c717
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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.

View file

@ -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();
} }