diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-11-16 01:24:05 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-11-16 01:24:05 +0300 |
commit | c25c249eb08ba370d2867ba3af6fb875fad79ce8 (patch) | |
tree | cbd65a2fb0afd75ff2347396fa1928f9ec41f259 /source/blender/src/editmesh_add.c | |
parent | a84f60a3bded552640c84169398f3aaeb5f58fcb (diff) |
Fixed bug #5235, "deleting edges, verts, or faces in multires does bizarre things to mesh"
Added a simple check to a number of editing operations. If multires is enabled,
an error is displayed and the operation is cancelled. This includes adding and
deleting verts/edges/faces, and anything that would reorder elements.
Diffstat (limited to 'source/blender/src/editmesh_add.c')
-rw-r--r-- | source/blender/src/editmesh_add.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c index e38e90fed18..0a98f4a67e2 100644 --- a/source/blender/src/editmesh_add.c +++ b/source/blender/src/editmesh_add.c @@ -70,6 +70,7 @@ #include "BIF_graphics.h" #include "BIF_interface.h" #include "BIF_mywindow.h" +#include "BIF_retopo.h" #include "BIF_screen.h" #include "BIF_space.h" #include "BIF_toolbox.h" @@ -649,6 +650,7 @@ void addedgeface_mesh(void) short amount=0; if( (G.vd->lay & G.obedit->lay)==0 ) return; + if(multires_test()) return; /* how many selected ? */ if(G.scene->selectmode & SCE_SELECT_EDGE) { |