Clean up more evals that have local variables are not working correctly.

This commit is contained in:
Jeff Hutchinson 2021-09-12 15:05:19 -04:00
parent a30f64506f
commit 7556e403e7
6 changed files with 27 additions and 29 deletions

View file

@ -123,7 +123,7 @@ function VerveEditor::CreateField( %targetStack, %fieldName, %fieldType )
if ( isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) )
{
// Create the Input Control.
eval( "%fieldInput = VerveEditor::Create" @ %fieldType @ "Field( %fieldContainer, %fieldName );" );
%fieldInput = eval( "return VerveEditor::Create" @ %fieldType @ "Field( %fieldContainer, %fieldName );" );
}
else
{