mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Merge pull request #400 from Areloch/PostFXEdFix
Fixes logic that checks if a postFX was enabled so the PostFX Editor works properly
This commit is contained in:
commit
9be3151cb0
2 changed files with 7 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ function PostFXEditor::refresh(%this)
|
|||
{
|
||||
%postEffect = PostFXManager.getKey(%i);
|
||||
|
||||
if(%postEffect.isEnabled)
|
||||
if(%postEffect.isEnabled())
|
||||
PostEffectEditorList.addRow( %i, %postEffect.getName() );
|
||||
}
|
||||
}
|
||||
|
|
@ -143,7 +143,7 @@ function PostFXEditorNewPFXWindow::showDialog(%this)
|
|||
{
|
||||
%postEffect = PostFXManager.getKey(%i);
|
||||
|
||||
if(!%postEffect.isEnabled)
|
||||
if(!%postEffect.isEnabled())
|
||||
PostFXEditorNewPFXList.addRow( %i, %postEffect.getName() );
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue