Browse Source

Merge branch 'RenderMeshExampleMatFix' into development for PR #631

Daniel Buckmaster 11 years ago
parent
commit
43895090fa
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Engine/source/T3D/examples/renderMeshExample.cpp

+ 3 - 0
Engine/source/T3D/examples/renderMeshExample.cpp

@@ -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;
 }
 }