diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-06-23 17:52:13 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-06-23 18:18:36 +0300 |
commit | 833e69ff7ead32f20cce36f3a1dfe90f80020ea1 (patch) | |
tree | 03b8237e798e05b85ed1bc5fbc9afd8b7f3ea38b /source/blender/editors/space_action | |
parent | 7e53f9fb1af850271d92ddc92a50acbc7aafd48f (diff) |
DopeSheet: GPencil-Mode supports Circle and Lasso Select
To get this working the least effort, I've had to expose the helper functions
used by the lasso and circle select keyframe-test callbacks (which are generic)
and expose them for use by the GP keyframe editing code too. Hopefully in time
we clean this all up and just write the code once to operate on "keyframes"
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index c9a4922eb0b..62050f129a9 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -468,13 +468,13 @@ static void region_select_action_keys(bAnimContext *ac, const rctf *rectf_view, bGPdata *gpd = ale->data; bGPDlayer *gpl; for (gpl = gpd->layers.first; gpl; gpl = gpl->next) { - //ED_gplayer_frames_select_border(gpl, rectf.xmin, rectf.xmax, selectmode); + ED_gplayer_frames_select_region(&ked, ale->data, mode, selectmode); } break; } case ANIMTYPE_GPLAYER: { - //ED_gplayer_frames_select_border(ale->data, rectf.xmin, rectf.xmax, selectmode); + ED_gplayer_frames_select_region(&ked, ale->data, mode, selectmode); break; } case ANIMTYPE_MASKDATABLOCK: |