diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2004-10-20 01:29:15 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2004-10-20 01:29:15 +0400 |
commit | f2f004af2df9733761cf9d4888e883a8c5f0d3e9 (patch) | |
tree | 751a76b0d0005e1b13fe1a8c202e7570dae18544 /source/blender/src/header_view3d.c | |
parent | 29ac3db7e8645c13eb844ad76cadc598bed483ea (diff) |
Bug fix for #1493 -
- Changed shortcut of "Align Active Camera to View" to
Ctrl+Alt+Numpad0 to make it Windows-friendly.
- Old shortcut of Shift-Numpad0 still works (until we find some other
use for it!)
Could use testing on KDE/Gnome, etc - incase we make X do somersaults or something equally daft! :P
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r-- | source/blender/src/header_view3d.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index 894dd4ea868..f1ac9781230 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -298,9 +298,9 @@ static void do_view3d_view_alignviewmenu(void *arg, int event) /* This ugly hack is a symptom of the nasty persptoetsen function, * but at least it works for now. */ - G.qual |= LR_SHIFTKEY; + G.qual |= LR_CTRLKEY|LR_ALTKEY; persptoetsen(PAD0); - G.qual &= ~LR_SHIFTKEY; + G.qual &= ~LR_CTRLKEY|LR_ALTKEY; break; case 5: /* Align View to Selected (object mode) */ mainqenter(PADASTERKEY, 1); @@ -325,7 +325,7 @@ static uiBlock *view3d_view_alignviewmenu(void *arg_unused) uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Center View to Cursor|C", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, ""); uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Center Cursor and View All|Shift C", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 6, ""); - uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Align Active Camera to View|Shift NumPad 0", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 4, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Align Active Camera to View|Ctrl Alt NumPad 0", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 4, ""); if (((G.obedit) && (G.obedit->type == OB_MESH)) || (G.f & G_FACESELECT)) { uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Align View to Selected (Top)|Shift V", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 2, ""); |