Improved exiting retopo paint; clicking on either of the retopo toggles in editmode will popup a question to check whether retopo paint should be applied or canceled.

This commit is contained in:
2007-01-09 00:47:23 +00:00
parent d01374b4d0
commit 047cb06e8a
2 changed files with 13 additions and 10 deletions

View File

@@ -1683,7 +1683,8 @@ void exit_editmode(int flag) /* freedata==0 at render, 1= freedata, 2= do undo b
/* temporal */
countall();
retopo_end_okee();
if(retopo_mesh_paint_check())
retopo_end_okee();
if(G.totvert>MESH_MAX_VERTS) {
error("Too many vertices");