diff options
author | Joshua Leung <aligorith@gmail.com> | 2017-09-03 03:40:49 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2017-09-03 03:49:16 +0300 |
commit | 4f6196a04131a462a1f0712ac7d0f9eb6fb0c150 (patch) | |
tree | 516bf5b69b65786f53fd0f6afe01b95987c60add /source/blender/editors/space_action | |
parent | c6719730921f16bcf7758f425540b1e12e46734a (diff) |
Fix: Border select for GPencil keyframes was including those in the "datablock" channels even though those weren't visible
This meant that it was easy to accidentally select too many keyframes
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 553be0ad290..17edbc6cc1d 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -262,6 +262,7 @@ static void borderselect_action(bAnimContext *ac, const rcti rect, short mode, s { /* loop over data selecting */ switch (ale->type) { +#if 0 /* XXXX: Keyframes are not currently shown here */ case ANIMTYPE_GPDATABLOCK: { bGPdata *gpd = ale->data; @@ -271,6 +272,7 @@ static void borderselect_action(bAnimContext *ac, const rcti rect, short mode, s } break; } +#endif case ANIMTYPE_GPLAYER: ED_gplayer_frames_select_border(ale->data, rectf.xmin, rectf.xmax, selectmode); break; |