diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp index ea5638a6009..a271ae14539 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp +++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp @@ -679,7 +679,7 @@ BL_Material* ConvertMaterial( GetRGB(type,mface,mmcol,mat,rgb[0],rgb[1],rgb[2], rgb[3]); // swap the material color, so MCol on TF_BMFONT works - if (validmat && type==1 && tface->mode & TF_BMFONT) + if (validmat && type==1 && (tface && tface->mode & TF_BMFONT)) { rgb[0] = KX_rgbaint2uint_new(rgb[0]); rgb[1] = KX_rgbaint2uint_new(rgb[1]);