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:
authorMatt Ebb <matt@mke3.net>2004-07-21 05:44:27 +0400
committerMatt Ebb <matt@mke3.net>2004-07-21 05:44:27 +0400
commitdf36d4c8e5ac74a15ceafaa93ad1b62c98a8f9fc (patch)
tree0536d3adf2adad3f09e319f04db6835107f02016 /source/blender/src/header_view3d.c
parent73b700626b3b44d41975b1858ca144abd8c9aabc (diff)
More details:
* Added 'Crease SubSurf' to the menus/toolbox * Language edits in the sequence editor
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r--source/blender/src/header_view3d.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c
index 68f33253fa6..15837b77789 100644
--- a/source/blender/src/header_view3d.c
+++ b/source/blender/src/header_view3d.c
@@ -1944,6 +1944,9 @@ void do_view3d_edit_mesh_edgesmenu(void *arg, int event)
case 8: /* Clear Seam */
editmesh_mark_seam(1);
break;
+ case 9: /* Cease SubSurf */
+ transform('e');
+ break;
}
allqueue(REDRAWVIEW3D, 0);
}
@@ -1952,6 +1955,8 @@ static uiBlock *view3d_edit_mesh_edgesmenu(void *arg_unused)
{
uiBlock *block;
short yco = 20, menuwidth = 120;
+
+ Mesh *me= get_mesh(OBACT);
block= uiNewBlock(&curarea->uiblocks, "view3d_edit_mesh_edgesmenu", UI_EMBOSSP, UI_HELV, G.curscreen->mainwin);
uiBlockSetButmFunc(block, do_view3d_edit_mesh_edgesmenu, NULL);
@@ -1975,6 +1980,11 @@ static uiBlock *view3d_edit_mesh_edgesmenu(void *arg_unused)
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Mark Seam|Ctrl E", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 7, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Clear Seam|Ctrl E", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 8, "");
+ if (me->flag & ME_SUBSURF) {
+ uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Crease SubSurf|Shift E", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 9, "");
+ }
+
uiBlockSetDirection(block, UI_RIGHT);
uiTextBoundsBlock(block, 60);
return block;