mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
filter inspector buttons out of the following:
PersistenceManager::updateObject SimObject::writeFields SimObject::assignFieldsFrom DefineEngineMethod( SimObject, getFieldCount, S32, (),, DefineEngineMethod( SimObject, getField, const char*, ( S32 index ),, SimObject::writeObject do not do so for SimObject::setDataField DefineEngineMethod( SimObject, dump, void, ( bool detailed ), ( false ),
This commit is contained in:
parent
0b65ff2c72
commit
78147821a0
3 changed files with 6 additions and 6 deletions
|
|
@ -48,7 +48,7 @@ bool SimObject::writeObject(Stream *stream)
|
|||
|
||||
for(itr = fieldList.begin();itr != fieldList.end();itr++)
|
||||
{
|
||||
if( itr->type >= AbstractClassRep::ARCFirstCustomField )
|
||||
if( itr->type >= AbstractClassRep::ARCFirstCustomField || itr->flag.test(AbstractClassRep::FieldFlags::FIELD_ComponentInspectors))
|
||||
{
|
||||
numFields--;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue