mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Shifts handling of material and terrain material definitions to be written into the asset definition taml file instead of having an extra loose file
Also updates importers to correctly handle this change Adds ability for taml XML serialization to properly assign array'd fields Adds 'inheritFrom' field to simobjects for when objects with parent objects are serialized AssetBase how inherits from SimGroup so it can have objects like material definitions embedded in them for save/load in the taml definition file Updated loading/handling logic in terrain material asset to be more similar to regular material assets
This commit is contained in:
parent
656475deaf
commit
630285def6
20 changed files with 791 additions and 318 deletions
|
|
@ -516,7 +516,8 @@ bool Material::writeField(StringTableEntry fieldname, const char* value)
|
|||
fieldname == StringTable->insert("overlayTex") ||
|
||||
fieldname == StringTable->insert("bumpTex") ||
|
||||
fieldname == StringTable->insert("envTex") ||
|
||||
fieldname == StringTable->insert("colorMultiply"))
|
||||
fieldname == StringTable->insert("colorMultiply") ||
|
||||
fieldname == StringTable->insert("internalName"))
|
||||
return false;
|
||||
|
||||
return Parent::writeField(fieldname, value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue