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