diff options
author | Matt Ebb <matt@mke3.net> | 2009-12-04 03:49:02 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-12-04 03:49:02 +0300 |
commit | 688c4aa1de3d707d43a4b7b1ca5c5ae2fbcd3ced (patch) | |
tree | 6a35cf83498629910b3d9a09b83b034d515a3c86 /source | |
parent | 1757b06e8861272e394e3def7cdd90d3c5d87a7d (diff) |
Fix for [#19478] Shortkeys for switch to Quad view mode is not working
changed default quad view shortcut to Ctrl Alt Q
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 4a002088c3d..7780f3e5068 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -1997,7 +1997,7 @@ static void SCREEN_OT_redo_last(wmOperatorType *ot) /* ************** region four-split operator ***************************** */ /* insert a region in the area region list */ -static int region_foursplit_exec(bContext *C, wmOperator *op) +static int region_quadview_exec(bContext *C, wmOperator *op) { ARegion *ar= CTX_wm_region(C); @@ -2069,16 +2069,16 @@ static int region_foursplit_exec(bContext *C, wmOperator *op) return OPERATOR_FINISHED; } -static void SCREEN_OT_region_foursplit(wmOperatorType *ot) +static void SCREEN_OT_region_quadview(wmOperatorType *ot) { /* identifiers */ ot->name= "Toggle Quad View"; ot->description= "Split selected area into camera, front, right & top views."; - ot->idname= "SCREEN_OT_region_foursplit"; + ot->idname= "SCREEN_OT_region_quadview"; /* api callbacks */ // ot->invoke= WM_operator_confirm; - ot->exec= region_foursplit_exec; + ot->exec= region_quadview_exec; ot->poll= ED_operator_areaactive; ot->flag= 0; } @@ -3653,7 +3653,7 @@ void ED_operatortypes_screen(void) WM_operatortype_append(SCREEN_OT_area_join); WM_operatortype_append(SCREEN_OT_area_dupli); WM_operatortype_append(SCREEN_OT_area_swap); - WM_operatortype_append(SCREEN_OT_region_foursplit); + WM_operatortype_append(SCREEN_OT_region_quadview); WM_operatortype_append(SCREEN_OT_region_scale); WM_operatortype_append(SCREEN_OT_region_flip); WM_operatortype_append(SCREEN_OT_header_flip); @@ -3758,7 +3758,7 @@ void ED_keymap_screen(wmKeyConfig *keyconf) WM_keymap_add_item(keymap, "SCREEN_OT_screencast", F3KEY, KM_PRESS, KM_ALT, 0); /* tests */ - WM_keymap_add_item(keymap, "SCREEN_OT_region_foursplit", SKEY, KM_PRESS, KM_CTRL|KM_ALT, 0); + WM_keymap_add_item(keymap, "SCREEN_OT_region_quadview", QKEY, KM_PRESS, KM_CTRL|KM_ALT, 0); WM_keymap_verify_item(keymap, "SCREEN_OT_repeat_history", F3KEY, KM_PRESS, 0, 0); WM_keymap_add_item(keymap, "SCREEN_OT_repeat_last", RKEY, KM_PRESS, KM_SHIFT, 0); WM_keymap_verify_item(keymap, "SCREEN_OT_region_flip", F5KEY, KM_PRESS, 0, 0); |