From 7a5c190820580342832e61b5cc6145ae50b29c4c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 Dec 2009 11:40:12 +0000 Subject: [PATCH] sequencer fcurve anim filtering: sequence strips fcurves in meta's were showing up in the main view. mossing notifier for border select. --- source/blender/editors/animation/anim_filter.c | 2 +- source/blender/editors/space_sequencer/sequencer_select.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index 8ab2de8076e..2d9ab636642 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -792,7 +792,7 @@ static int skip_fcurve_selected_data(FCurve *fcu, ID *owner_id) if (seq_name) MEM_freeN(seq_name); /* can only add this F-Curve if it is selected */ - if ((seq) && (seq->flag & SELECT)==0) + if (seq==NULL || (seq->flag & SELECT)==0) return 1; } } diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index bd31bc1fb5a..69ce2c7c681 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -872,6 +872,8 @@ static int sequencer_borderselect_exec(bContext *C, wmOperator *op) } } + WM_event_add_notifier(C, NC_SCENE|ND_SEQUENCER_SELECT, scene); + return OPERATOR_FINISHED; }