mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
FIX RenderMeshExample not having a material on mission start even if one was assigned to it in the mission file.
This commit is contained in:
parent
aca58356ee
commit
d56952eaea
|
|
@ -107,6 +107,8 @@ bool RenderMeshExample::onAdd()
|
|||
|
||||
// Add this object to the scene
|
||||
addToScene();
|
||||
// Refresh this object's material (if any)
|
||||
updateMaterial();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue