mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #1702 from Azaezel/alpha41/fixVerveCrash
fix verve editor crash
This commit is contained in:
commit
63f5944e30
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ function VerveEditor::CreateField( %targetStack, %fieldName, %fieldType )
|
||||||
};
|
};
|
||||||
%fieldContainer.add( %fieldLabel );
|
%fieldContainer.add( %fieldLabel );
|
||||||
|
|
||||||
if ( isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) )
|
if ( (%fieldType !$= "") && (isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) ))
|
||||||
{
|
{
|
||||||
// Create the Input Control.
|
// Create the Input Control.
|
||||||
%fieldInput = eval( "return VerveEditor::Create" @ %fieldType @ "Field(" @ %fieldContainer @ "," @ %fieldName @ ");" );
|
%fieldInput = eval( "return VerveEditor::Create" @ %fieldType @ "Field(" @ %fieldContainer @ "," @ %fieldName @ ");" );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue