diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-22 04:17:17 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-22 04:17:17 +0300 |
commit | c82c2419e2c35e3da28d10af0064d9d9413cd8e7 (patch) | |
tree | 8ea8dd524a67e0b524e39cefdb9c63698b86c242 /source/blender/src/retopo.c | |
parent | 26e787dc9fb210c855138426e7c8fecbe00b7fbf (diff) |
== Retopo ==
Fixed bug #5774, retopo - when using retopoall should give visual hint of what viewport is used for retopo
* Added a call to select_area so that clicking Retopo All will offer the user a choice of what viewport to use.
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r-- | source/blender/src/retopo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c index a344a3ae172..1532a144c6c 100644 --- a/source/blender/src/retopo.c +++ b/source/blender/src/retopo.c @@ -40,6 +40,7 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_screen_types.h" +#include "DNA_space_types.h" #include "DNA_userdef_types.h" #include "DNA_view3d_types.h" @@ -852,6 +853,9 @@ void retopo_do_all() void retopo_do_all_cb(void *j1, void *j2) { + /* This is called from editbuttons, so user needs to specify view */ + if(!select_area(SPACE_VIEW3D)) return; + if(G.vd->drawtype == OB_WIRE) { error("Cannot apply retopo in wireframe mode"); return; |