mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
Adds logic to correctly write out a shape's materials as fields to the asset taml file so they can register as dependencies with the assetdatabase
This commit is contained in:
parent
b44158cb89
commit
de26f519f9
2 changed files with 27 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ protected:
|
|||
/// Taml callbacks.
|
||||
void onTamlPreWrite(void) override;
|
||||
void onTamlPostWrite(void) override;
|
||||
void onTamlCustomWrite(TamlCustomNodes& customNodes) override;
|
||||
|
||||
protected:
|
||||
static bool setShapeFile(void* obj, StringTableEntry index, StringTableEntry data) { static_cast<ShapeAsset*>(obj)->setShapeFile(data); return false; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue