diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-22 11:34:53 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-22 11:34:53 +0300 |
commit | d58cc7b9e6b7de9da19f4ed2b2aae0b37084d8ca (patch) | |
tree | e0c93df8eb1f29f6e9dedc78c3b487bec4d4f93a /source/blender/src/header_view3d.c | |
parent | cbbd736a9d1d73b68e2542d29d9dce852b006cfd (diff) |
== Multires ==
Partial fix for bug #5771, Multires tool deletes crease flags on edges
* Modified the edge flags code to support all of the edge flags (not just seams.)
* Added a new array to the Multires struct to store creases.
* For Mark Sharp, Clear Sharp, and Crease, displays an error if applied to a multires mesh not on level 1.
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r-- | source/blender/src/header_view3d.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index 7a592518182..7a418c05c9f 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -124,6 +124,7 @@ #include "BPY_menus.h" #include "blendef.h" +#include "multires.h" #include "mydevice.h" #include "butspace.h" @@ -2545,8 +2546,10 @@ void do_view3d_edit_mesh_edgesmenu(void *arg, int event) editmesh_mark_seam(1); break; case 9: /* Cease SubSurf */ - initTransform(TFM_CREASE, CTX_EDGE); - Transform(); + if(!multires_level1_test()) { + initTransform(TFM_CREASE, CTX_EDGE); + Transform(); + } break; case 10: /* Rotate Edge */ edge_rotate_selected(2); |