sequencer fcurve anim filtering: sequence strips fcurves in meta's were showing up...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 17 Dec 2009 11:40:12 +0000 (11:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 17 Dec 2009 11:40:12 +0000 (11:40 +0000)
source/blender/editors/animation/anim_filter.c
source/blender/editors/space_sequencer/sequencer_select.c

index 8ab2de8076e4483debe5c5e253240152877255fa..2d9ab6366428757345d0612225a106f038ee5e07 100644 (file)
@@ -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;
                }
        }
index bd31bc1fb5a835f935d9a34382cfb0fb1529bfe1..69ce2c7c681f81a00c9419922396b8183682ec06 100644 (file)
@@ -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;
 }