From bc9432b9056fc28b668949375b353a47215e3683 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 7 Jul 2011 11:29:36 +0000 Subject: Grease Pencil ActEdit Mode: Filtering Cleanup * Ported filtering code for Grease Pencil frames editing to the newer- style refactored stuff * Decoupled active status of layers from selection status, bringing this into line with everything else again --- source/blender/editors/include/ED_anim_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_anim_api.h') diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index 7726b02d511..513f0bba808 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -274,7 +274,7 @@ typedef enum eAnimFilter_Flags { #define EXPANDED_GPD(gpd) (gpd->flag & GP_DATA_EXPAND) /* Grease Pencil Layer settings */ #define EDITABLE_GPL(gpl) ((gpl->flag & GP_LAYER_LOCKED)==0) -#define SEL_GPL(gpl) ((gpl->flag & GP_LAYER_ACTIVE) || (gpl->flag & GP_LAYER_SELECT)) +#define SEL_GPL(gpl) (gpl->flag & GP_LAYER_SELECT) /* NLA only */ #define SEL_NLT(nlt) (nlt->flag & NLATRACK_SELECTED) -- cgit v1.2.3