bugfix
[blender.git] / source / blender / src / view.c
index 2904ca60a124bb6b63dd40c542009c523bacf519..1e45f2bf3e049c334a84f102e517a76945a7fe86 100644 (file)
@@ -1448,6 +1448,8 @@ void obmat_to_viewmat(Object *ob, short smooth)
        float bmat[4][4];
        float tmat[3][3];
 
+       G.vd->view= 0; /* dont show the grid */
+
        Mat4CpyMat4(bmat, ob->obmat);
        Mat4Ortho(bmat);
        Mat4Invert(G.vd->viewmat, bmat);