Cycles: working towards texture workflow design
[blender.git] / source / gameengine / Ketsji / BL_BlenderShader.cpp
index 91982a424c78f612e42081a54aa6678760d5be3b..4823af874a8f0398f6f6b8ae692da6f01fcb634d 100644 (file)
@@ -40,7 +40,7 @@ BL_BlenderShader::~BL_BlenderShader()
 
 void BL_BlenderShader::ReloadMaterial()
 {
-       mGPUMat = (mMat) ? GPU_material_from_blender(mBlenderScene, mMat) : NULL;
+       mGPUMat = (mMat) ? GPU_material_from_blender(mBlenderScene, mMat, OB_RENDERED) : NULL;
 }
 
 void BL_BlenderShader::SetProg(bool enable, double time)