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-22 03:48:53 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-22 03:48:53 +0300
commit26e787dc9fb210c855138426e7c8fecbe00b7fbf (patch)
tree87827b0733a89882bce871a463e1a5b4613f0fdb /source/blender/src/retopo.c
parentfef73f2b9294072b6606cfbd449fb01f72249348 (diff)
== Retopo ==
Fixed bug #5773, retopo - if in wireframe mode should give an error/warning * Show error message for Retopo All button if view is in wireframe mode * When toggling view shading, update view depth data if shading isn't set to wireframe
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r--source/blender/src/retopo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c
index 7796984cef9..a344a3ae172 100644
--- a/source/blender/src/retopo.c
+++ b/source/blender/src/retopo.c
@@ -852,6 +852,11 @@ void retopo_do_all()
void retopo_do_all_cb(void *j1, void *j2)
{
+ if(G.vd->drawtype == OB_WIRE) {
+ error("Cannot apply retopo in wireframe mode");
+ return;
+ }
+
retopo_do_all();
BIF_undo_push("Retopo all");
}