diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-07-12 07:59:06 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-07-12 07:59:06 +0400 |
commit | d585ad2e3f2f5f097a2f850e5d734b44c38462d4 (patch) | |
tree | ec97a7576c08c4f6cb4d84d894f2486eab1b7e83 /source/blender/editors/include | |
parent | 2fd3ae7539475fcd2546ba0d5a27687f4e683ccf (diff) |
Bugfix [#27650] graph editor -> drivers -> Delete Channels (X) deletes
wrong entries if obdata selected
In this case, the problem was that there were some lingering F-Curves
that were unselected by still had "active" flags set (a problem caused
by the old filtering channel visible vs list visible bug). Now,
"active" flag is treated separately from "selected" flag (bringing
this back into line with bones), leaving no confusion.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_anim_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index 513f0bba808..bd86dcfc82f 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -263,7 +263,7 @@ typedef enum eAnimFilter_Flags { #define SEL_AGRP(agrp) ((agrp->flag & AGRP_SELECTED) || (agrp->flag & AGRP_ACTIVE)) /* F-Curve Channels */ #define EDITABLE_FCU(fcu) ((fcu->flag & FCURVE_PROTECTED)==0) -#define SEL_FCU(fcu) (fcu->flag & (FCURVE_ACTIVE|FCURVE_SELECTED)) +#define SEL_FCU(fcu) (fcu->flag & FCURVE_SELECTED) /* ShapeKey mode only */ #define EDITABLE_SHAPEKEY(kb) ((kb->flag & KEYBLOCK_LOCKED)==0) |