Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-01-17 11:21:13 +0300
committerJoshua Leung <aligorith@gmail.com>2011-01-17 11:21:13 +0300
commit80c81605a1b9fb34d8b5ff9273b42be3ec522bc5 (patch)
treecd4482c5e90f9a5af455ea39cdcab58888451830 /source/blender/editors/space_action
parentfd448bcfc7a4bfb3698ec8d88094d439b94a1a92 (diff)
Bugfix [#25674] No Box Select in Dopesheet
Border select was broken during Grease Pencil mode work
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/action_select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c
index 1ae26421152..687520050f1 100644
--- a/source/blender/editors/space_action/action_select.c
+++ b/source/blender/editors/space_action/action_select.c
@@ -253,10 +253,10 @@ static void borderselect_action (bAnimContext *ac, rcti rect, short mode, short
!((ymax < rectf.ymin) || (ymin > rectf.ymax)) )
{
/* loop over data selecting */
- if (ale->type == ANIMTYPE_FCURVE)
- ANIM_animchannel_keyframes_loop(&ked, ale, ok_cb, select_cb, NULL, filterflag);
- else if (ale->type == ANIMTYPE_GPLAYER)
+ if (ale->type == ANIMTYPE_GPLAYER)
borderselect_gplayer_frames(ale->data, rectf.xmin, rectf.xmax, selectmode);
+ else (ale->type == ANIMTYPE_FCURVE)
+ ANIM_animchannel_keyframes_loop(&ked, ale, ok_cb, select_cb, NULL, filterflag);
}
/* set minimum extent to be the maximum of the next channel */