diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-14 05:30:33 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-14 05:30:33 +0300 |
commit | 52525a00f7f83e8349b98ab9824fe92cb41d2e8a (patch) | |
tree | cc31c5466bac86a41d5fa8a55a1a5bbcd3d7b633 /source/blender/editors/space_action/action_intern.h | |
parent | 650916941ee7d459711dec9a6a73a1d6c56f3c20 (diff) |
DopeSheet: Add menu entries and hotkeys to select all keyframes
left/right to current frame in dope sheet
This commit separates out this selection functionality out of the
click-selection operator into a separate operator, so that hotkeys and
menu entries can be assigned to it.
This is based on an idea+patch (#23738) submitted by Torsten Rupp
(rupp), though I've ultimately decided not to go with the suggested
implementation as I don't think this fits that well under the "column"
select operator.
Todo: Graph Editor support will be coming shortly...
Diffstat (limited to 'source/blender/editors/space_action/action_intern.h')
-rw-r--r-- | source/blender/editors/space_action/action_intern.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_intern.h b/source/blender/editors/space_action/action_intern.h index cc363b76479..b483a3edbdc 100644 --- a/source/blender/editors/space_action/action_intern.h +++ b/source/blender/editors/space_action/action_intern.h @@ -59,14 +59,14 @@ void ACTION_OT_select_column(struct wmOperatorType *ot); void ACTION_OT_select_linked(struct wmOperatorType *ot); void ACTION_OT_select_more(struct wmOperatorType *ot); void ACTION_OT_select_less(struct wmOperatorType *ot); +void ACTION_OT_select_leftright(struct wmOperatorType *ot); void ACTION_OT_clickselect(struct wmOperatorType *ot); /* defines for left-right select tool */ enum { - ACTKEYS_LRSEL_TEST = -1, - ACTKEYS_LRSEL_NONE, + ACTKEYS_LRSEL_TEST = 0, ACTKEYS_LRSEL_LEFT, - ACTKEYS_LRSEL_RIGHT, + ACTKEYS_LRSEL_RIGHT } eActKeys_LeftRightSelect_Mode; /* defines for column-select mode */ |