Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-01-09 03:47:23 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-09 03:47:23 +0300
commit047cb06e8adc518221c9f25b526c8155cc08a15e (patch)
tree3496469bcb9a8a11a1b46e8fdb6b711c114d9529 /source/blender/src/editobject.c
parentd01374b4d0b9dc1c6e7599c75ed0b8a0b2e3a18a (diff)
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.
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r--source/blender/src/editobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 27288f404de..06eace539ce 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -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");