diff options
author | Matt Ebb <matt@mke3.net> | 2006-07-26 14:33:41 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-07-26 14:33:41 +0400 |
commit | b111027d5d26d0688f040d628c05db5e647c454d (patch) | |
tree | 377baf98016a89084a9e491029f8883cea2d187a /source/blender/src/header_view3d.c | |
parent | 118125cff8dc4e684627c73f1f5f50d1042fc910 (diff) |
* Added armature bone subdivide to 3d View menu
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r-- | source/blender/src/header_view3d.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index 25d8d173063..7c2edf81a3a 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -3329,6 +3329,9 @@ static void do_view3d_edit_armaturemenu(void *arg, int event) case 11: /* clear roll */ auto_align_armature(); break; + case 12: /* subdivide */ + subdivide_armature(); + break; } allqueue(REDRAWVIEW3D, 0); } @@ -3363,6 +3366,10 @@ static uiBlock *view3d_edit_armaturemenu(void *arg_unused) uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Subdivide|W, 1", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 12, ""); + + uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); + uiDefIconTextBlockBut(block, view3d_edit_armature_parentmenu, NULL, ICON_RIGHTARROW_THIN, "Parent", 0, yco-=20, 120, 19, ""); if(curarea->headertype==HEADERTOP) { |