Merge pull request #1702 from Azaezel/alpha41/fixVerveCrash
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled

fix verve editor crash
This commit is contained in:
Brian Roberts 2026-03-30 23:08:09 -05:00 committed by GitHub
commit 63f5944e30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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