mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-05-07 06:16:04 +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 );
|
||||
|
||||
if ( isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) )
|
||||
if ( (%fieldType !$= "") && (isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) ))
|
||||
{
|
||||
// Create the Input Control.
|
||||
%fieldInput = eval( "return VerveEditor::Create" @ %fieldType @ "Field(" @ %fieldContainer @ "," @ %fieldName @ ");" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue