From 5dcb6fb22f3f0a8a5b2b9f0aa5479a29d635ddbe Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 20 Feb 2020 10:21:23 +1100 Subject: Cleanup: unused enums --- source/blender/makesdna/DNA_space_types.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'source/blender/makesdna/DNA_space_types.h') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 7adba2b7dbe..adf93bb71f3 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -218,7 +218,7 @@ typedef enum eSpaceButtons_Context { /* SpaceProperties.flag */ typedef enum eSpaceButtons_Flag { - SB_PRV_OSA = (1 << 0), + /* SB_PRV_OSA = (1 << 0), */ /* UNUSED */ SB_PIN_CONTEXT = (1 << 1), SB_FLAG_UNUSED_2 = (1 << 2), SB_FLAG_UNUSED_3 = (1 << 3), @@ -279,10 +279,10 @@ typedef struct SpaceOutliner { /* SpaceOutliner.flag */ typedef enum eSpaceOutliner_Flag { - SO_TESTBLOCKS = (1 << 0), - SO_NEWSELECTED = (1 << 1), - SO_FLAG_UNUSED_1 = (1 << 2), /* cleared */ - SO_HIDE_KEYINGSETINFO = (1 << 3), + /* SO_TESTBLOCKS = (1 << 0), */ /* UNUSED */ + /* SO_NEWSELECTED = (1 << 1), */ /* UNUSED */ + SO_FLAG_UNUSED_1 = (1 << 2), /* cleared */ + /* SO_HIDE_KEYINGSETINFO = (1 << 3), */ /* UNUSED */ SO_SKIP_SORT_ALPHA = (1 << 4), SO_SYNC_SELECT = (1 << 5), } eSpaceOutliner_Flag; @@ -450,7 +450,7 @@ typedef enum eGraphEdit_Flag { SIPO_SELCUVERTSONLY = (1 << 5), /* draw names of F-Curves beside the respective curves */ /* NOTE: currently not used */ - SIPO_DRAWNAMES = (1 << 6), + /* SIPO_DRAWNAMES = (1 << 6), */ /* UNUSED */ /* show sliders in channels list */ SIPO_SLIDERS = (1 << 7), /* don't show the horizontal component of the cursor */ @@ -999,11 +999,13 @@ typedef struct FileDirEntryArr { char root[1024]; } FileDirEntryArr; +#if 0 /* UNUSED */ /* FileDirEntry.status */ enum { ASSET_STATUS_LOCAL = 1 << 0, /* If active uuid is available locally/immediately. */ ASSET_STATUS_LATEST = 1 << 1, /* If active uuid is latest available version. */ }; +#endif /* FileDirEntry.flags */ enum { @@ -1158,12 +1160,6 @@ typedef enum eSpaceImage_Flag { SI_SHOW_B = (1 << 29), } eSpaceImage_Flag; -/* SpaceImage.other_uv_filter */ -typedef enum eSpaceImage_OtherUVFilter { - SI_FILTER_SAME_IMAGE = 0, - SI_FILTER_ALL = 1, -} eSpaceImage_OtherUVFilter; - /** \} */ /* -------------------------------------------------------------------- */ -- cgit v1.2.3