mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fixes assignment of the mapTo field for terrain FX materials to point to the assetId rather than just the assetName, fixing the material mapping lookups
Fixes project import to comply to above change Makes Material default mEffectColor to white instead of whatever default value it comes up with due to memset
This commit is contained in:
parent
c2857efe28
commit
bae6a3f514
4 changed files with 8 additions and 5 deletions
|
|
@ -229,6 +229,9 @@ Material::Material()
|
|||
|
||||
dMemset(mEffectColor, 0, sizeof(mEffectColor));
|
||||
|
||||
mEffectColor[0] = LinearColorF::WHITE;
|
||||
mEffectColor[1] = LinearColorF::WHITE;
|
||||
|
||||
mFootstepSoundId = -1; mImpactSoundId = -1;
|
||||
mImpactFXIndex = -1;
|
||||
INIT_ASSET(CustomFootstepSound);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue