mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
crashfix for inpector dynamic field editing
This commit is contained in:
parent
15971185ee
commit
8549c17a42
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ void GuiInspectorDynamicField::setData( const char* data, bool callbacks )
|
||||||
{
|
{
|
||||||
target->inspectPreApply();
|
target->inspectPreApply();
|
||||||
|
|
||||||
if( callbacks && !mField->flag.test(AbstractClassRep::FieldFlags::FIELD_ComponentInspectors))
|
if( callbacks)
|
||||||
{
|
{
|
||||||
if( isRemoval )
|
if( isRemoval )
|
||||||
Con::executef( mInspector, "onFieldRemoved", target->getIdString(), mDynField->slotName );
|
Con::executef( mInspector, "onFieldRemoved", target->getIdString(), mDynField->slotName );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue