diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c index 6ce53b4adaf..873b3c9ab9f 100644 --- a/source/blender/src/drawmesh.c +++ b/source/blender/src/drawmesh.c @@ -855,6 +855,8 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt) mface= me->mface; tface= me->tface; } + // tface can be NULL + if(tface==NULL) return; for (a=0; a