mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 02:53:49 +00:00
Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR
This commit is contained in:
commit
0b451aa7b5
22 changed files with 187 additions and 12 deletions
|
|
@ -436,7 +436,7 @@ SimObject *spawnObject(String spawnClass, String spawnDataBlock, String spawnNam
|
|||
|
||||
// If we have a spawn script go ahead and execute it last
|
||||
if (spawnScript.isNotEmpty())
|
||||
Con::evaluate(spawnScript.c_str(), true);
|
||||
Con::evaluate(spawnScript.c_str());
|
||||
|
||||
return spawnObject;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ void GuiInspectorDynamicField::setData( const char* data, bool callbacks )
|
|||
{
|
||||
target->inspectPreApply();
|
||||
|
||||
if( callbacks )
|
||||
if( callbacks && !mField->flag.test(AbstractClassRep::FieldFlags::FIELD_ComponentInspectors))
|
||||
{
|
||||
if( isRemoval )
|
||||
Con::executef( mInspector, "onFieldRemoved", target->getIdString(), mDynField->slotName );
|
||||
|
|
|
|||
|
|
@ -378,7 +378,7 @@ void GuiInspectorField::setData( const char* data, bool callbacks )
|
|||
|
||||
// Fire callback single-object undo.
|
||||
|
||||
if( callbacks )
|
||||
if( callbacks && !mField->flag.test(AbstractClassRep::FieldFlags::FIELD_ComponentInspectors) )
|
||||
Con::executef( mInspector, "onInspectorFieldModified",
|
||||
target->getIdString(),
|
||||
mField->pFieldname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue