mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Add sanity check for default value results checking when filtering out default values
Add additional utility functions for updating parsed object data in the project importer Adds logic to find and associate FX materials to their terrainMaterials and adding them to the terrian material asset if found on project importer
This commit is contained in:
parent
b4e346aa3f
commit
696c2e2eec
4 changed files with 242 additions and 18 deletions
|
|
@ -728,7 +728,8 @@ ImplementEnumType(_TamlFormatMode,
|
|||
if (!getWriteDefaults())
|
||||
{
|
||||
//If the field hasn't been changed from the default value, then don't bother writing it out
|
||||
if (dStricmp(defaultObject->getDataField(fieldName, indexBuffer), pFieldValue) == 0)
|
||||
const char* fieldData = defaultObject->getDataField(fieldName, indexBuffer);
|
||||
if (fieldData != '\0' && dStricmp(fieldData, pFieldValue) == 0)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue