- fixed texture paint mode... and that all caused by fixing another bug!

again - reminder to self - the 3d window leaves in ortho mode default,
  and for evaluating it in 3d view you have to call persp(PERSP_VIEW)
This commit is contained in:
Ton Roosendaal 2003-12-07 18:44:47 +00:00
parent dae2b17400
commit a72fcb115b

@ -442,6 +442,7 @@ TFace* face_pick(Mesh *me, short x, short y)
}
if (G.vd->flag & V3D_NEEDBACKBUFDRAW) {
backdrawview3d(0);
persp(PERSP_VIEW);
}
/* Read the pixel under the cursor */
#ifdef __APPLE__
@ -1247,6 +1248,8 @@ void face_draw()
error("Can not create brush"); return;
}
persp(PERSP_VIEW);
getmouseco_areawin(xy_old);
while (get_mbut() & L_MOUSE) {
getmouseco_areawin(xy);
@ -1356,6 +1359,8 @@ void face_draw()
error("Painting in packed images not supported: %s", warn_packed_file);
}
persp(PERSP_WIN);
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWIMAGE, 0);
allqueue(REDRAWHEADERS, 0);