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:
Kyrah Abattoir 2014-04-25 00:39:20 +02:00
parent aca58356ee
commit d56952eaea

View file

@ -107,6 +107,8 @@ bool RenderMeshExample::onAdd()
// Add this object to the scene
addToScene();
// Refresh this object's material (if any)
updateMaterial();
return true;
}