mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge branch 'RenderMeshExampleMatFix' into development for PR #631
This commit is contained in:
commit
43895090fa
1 changed files with 3 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ bool RenderMeshExample::onAdd()
|
||||||
// Add this object to the scene
|
// Add this object to the scene
|
||||||
addToScene();
|
addToScene();
|
||||||
|
|
||||||
|
// Refresh this object's material (if any)
|
||||||
|
updateMaterial();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue