diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 02:21:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 04:19:55 +0300 |
commit | 5dcb6fb22f3f0a8a5b2b9f0aa5479a29d635ddbe (patch) | |
tree | 51176b3fb906ad7fdc3b426556db84775fe66cd5 /source/blender/makesdna/DNA_action_types.h | |
parent | a74f0dc0e306d79d8a6de5277538d7333132fc34 (diff) |
Cleanup: unused enums
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index b95a4ca3d96..64a458cbbc5 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -158,13 +158,13 @@ typedef enum eMotionPaths_ViewFlag { /* find keyframes in whole action (instead of just in matching group name) */ MOTIONPATH_VIEW_KFACT = (1 << 3), /* draw lines on path */ - MOTIONPATH_VIEW_LINES = (1 << 4), + /* MOTIONPATH_VIEW_LINES = (1 << 4), */ /* UNUSED */ } eMotionPath_ViewFlag; /* bAnimVizSettings->path_bakeflag */ typedef enum eMotionPaths_BakeFlag { /** motion paths directly associated with this block of settings needs updating */ - MOTIONPATH_BAKE_NEEDS_RECALC = (1 << 0), + /* MOTIONPATH_BAKE_NEEDS_RECALC = (1 << 0), */ /* UNUSED */ /** for bones - calculate head-points for curves instead of tips */ MOTIONPATH_BAKE_HEADS = (1 << 1), /** motion paths exist for AnimVizSettings instance - set when calc for first time, @@ -364,7 +364,7 @@ typedef enum ePchan_Flag { POSE_DONE = (1 << 10), /* visualization */ POSE_KEY = (1 << 11), - POSE_STRIDE = (1 << 12), + /* POSE_STRIDE = (1 << 12), */ /* UNUSED */ /* standard IK solving */ POSE_IKTREE = (1 << 13), #if 0 @@ -380,10 +380,10 @@ typedef enum ePchan_ConstFlag { PCHAN_HAS_IK = (1 << 0), PCHAN_HAS_CONST = (1 << 1), /* only used for drawing Posemode, not stored in channel */ - PCHAN_HAS_ACTION = (1 << 2), + /* PCHAN_HAS_ACTION = (1 << 2), */ /* UNUSED */ PCHAN_HAS_TARGET = (1 << 3), /* only for drawing Posemode too */ - PCHAN_HAS_STRIDE = (1 << 4), + /* PCHAN_HAS_STRIDE = (1 << 4), */ /* UNUSED */ /* spline IK */ PCHAN_HAS_SPLINEIK = (1 << 5), } ePchan_ConstFlag; @@ -510,7 +510,7 @@ typedef enum ePose_Flags { /* pose has constraints which depend on time (used when depsgraph updates for a new frame) */ POSE_CONSTRAINTS_TIMEDEPEND = (1 << 3), /* recalculate bone paths */ - POSE_RECALCPATHS = (1 << 4), + /* POSE_RECALCPATHS = (1 << 4), */ /* UNUSED */ /* set by BKE_pose_rebuild to give a chance to the IK solver to rebuild IK tree */ POSE_WAS_REBUILT = (1 << 5), POSE_FLAG_DEPRECATED = (1 << 6), /* deprecated. */ @@ -683,8 +683,8 @@ typedef enum eAction_Flags { /* flags for evaluation/editing */ ACT_MUTED = (1 << 9), - ACT_PROTECTED = (1 << 10), - ACT_DISABLED = (1 << 11), + /* ACT_PROTECTED = (1 << 10), */ /* UNUSED */ + /* ACT_DISABLED = (1 << 11), */ /* UNUSED */ } eAction_Flags; /* ************************************************ */ @@ -767,10 +767,12 @@ typedef enum eDopeSheet_FilterFlag { /** GP Mode - Only show datablocks used in the scene */ ADS_FILTER_GP_3DONLY = (1 << 29), +#if 0 /** combination filters (some only used at runtime) */ ADS_FILTER_NOOBDATA = (ADS_FILTER_NOCAM | ADS_FILTER_NOMAT | ADS_FILTER_NOLAM | ADS_FILTER_NOCUR | ADS_FILTER_NOPART | ADS_FILTER_NOARM | ADS_FILTER_NOSPK | ADS_FILTER_NOMODIFIERS), +#endif } eDopeSheet_FilterFlag; /* DopeSheet filter-flags - Overflow (filterflag2) */ @@ -947,18 +949,6 @@ typedef struct bActionChannel { int temp; } bActionChannel; -/* Action Channel flags (ONLY USED FOR DO_VERSIONS...) */ -typedef enum eActionChannelFlag { - ACHAN_SELECTED = (1 << 0), - ACHAN_HIGHLIGHTED = (1 << 1), - ACHAN_HIDDEN = (1 << 2), - ACHAN_PROTECTED = (1 << 3), - ACHAN_EXPANDED = (1 << 4), - ACHAN_SHOWIPO = (1 << 5), - ACHAN_SHOWCONS = (1 << 6), - ACHAN_MOVED = (1u << 31), -} eActionChannelFlag; - #ifdef __cplusplus } #endif |