sequencer fcurve anim filtering: sequence strips fcurves in meta's were showing up...
[blender.git] / source / blender / editors / animation / anim_filter.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;
                }
        }