Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-17 02:28:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-17 02:34:59 +0300
commitcc5bdf02932438e61b8fb41280d4754549a093b4 (patch)
treec20f788571779ed5069d51b71c0daef678425393 /source/blender/makesdna/DNA_scene_types.h
parentcf5097d71f17356810f04e052325792fca77de55 (diff)
Cleanup: rename DEPRECATED to UNUSED
While the flags have been deprecated they're currently unused. Rename for clarity.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 2607ca5f333..711ac8c4bb1 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -255,18 +255,18 @@ typedef struct SceneRenderLayer {
typedef enum eScenePassType {
SCE_PASS_COMBINED = (1 << 0),
SCE_PASS_Z = (1 << 1),
- SCE_PASS_DEPRECATED_1 = (1 << 2), /* RGBA */
- SCE_PASS_DEPRECATED_2 = (1 << 3), /* DIFFUSE */
- SCE_PASS_DEPRECATED_3 = (1 << 4), /* SPEC */
+ SCE_PASS_UNUSED_1 = (1 << 2), /* RGBA */
+ SCE_PASS_UNUSED_2 = (1 << 3), /* DIFFUSE */
+ SCE_PASS_UNUSED_3 = (1 << 4), /* SPEC */
SCE_PASS_SHADOW = (1 << 5),
SCE_PASS_AO = (1 << 6),
- SCE_PASS_DEPRECATED_4 = (1 << 7), /* REFLECT */
+ SCE_PASS_UNUSED_4 = (1 << 7), /* REFLECT */
SCE_PASS_NORMAL = (1 << 8),
SCE_PASS_VECTOR = (1 << 9),
- SCE_PASS_DEPRECATED_5 = (1 << 10), /* REFRACT */
+ SCE_PASS_UNUSED_5 = (1 << 10), /* REFRACT */
SCE_PASS_INDEXOB = (1 << 11),
SCE_PASS_UV = (1 << 12),
- SCE_PASS_DEPRECATED_6 = (1 << 13), /* INDIRECT */
+ SCE_PASS_UNUSED_6 = (1 << 13), /* INDIRECT */
SCE_PASS_MIST = (1 << 14),
SCE_PASS_RAYHITS = (1 << 15),
SCE_PASS_EMIT = (1 << 16),
@@ -1791,42 +1791,42 @@ typedef struct Scene {
/* RenderData.mode */
#define R_OSA (1 << 0)
-#define R_MODE_DEPRECATED_1 (1 << 1) /* cleared */
-#define R_MODE_DEPRECATED_2 (1 << 2) /* cleared */
-#define R_MODE_DEPRECATED_3 (1 << 3) /* cleared */
-#define R_MODE_DEPRECATED_4 (1 << 4) /* cleared */
-#define R_MODE_DEPRECATED_5 (1 << 5) /* cleared */
-#define R_MODE_DEPRECATED_6 (1 << 6) /* cleared */
-#define R_MODE_DEPRECATED_7 (1 << 7) /* cleared */
-#define R_MODE_DEPRECATED_8 (1 << 8) /* cleared */
+#define R_MODE_UNUSED_1 (1 << 1) /* cleared */
+#define R_MODE_UNUSED_2 (1 << 2) /* cleared */
+#define R_MODE_UNUSED_3 (1 << 3) /* cleared */
+#define R_MODE_UNUSED_4 (1 << 4) /* cleared */
+#define R_MODE_UNUSED_5 (1 << 5) /* cleared */
+#define R_MODE_UNUSED_6 (1 << 6) /* cleared */
+#define R_MODE_UNUSED_7 (1 << 7) /* cleared */
+#define R_MODE_UNUSED_8 (1 << 8) /* cleared */
#define R_BORDER (1 << 9)
-#define R_MODE_DEPRECATED_10 (1 << 10) /* cleared */
+#define R_MODE_UNUSED_10 (1 << 10) /* cleared */
#define R_CROP (1 << 11)
/* Disable camera switching: runtime (DURIAN_CAMERA_SWITCH) */
#define R_NO_CAMERA_SWITCH (1 << 12)
-#define R_MODE_DEPRECATED_13 (1 << 13) /* cleared */
+#define R_MODE_UNUSED_13 (1 << 13) /* cleared */
#define R_MBLUR (1 << 14)
/* unified was here */
-#define R_MODE_DEPRECATED_16 (1 << 16) /* cleared */
-#define R_MODE_DEPRECATED_17 (1 << 17) /* cleared */
-#define R_MODE_DEPRECATED_18 (1 << 18) /* cleared */
-#define R_MODE_DEPRECATED_19 (1 << 19) /* cleared */
+#define R_MODE_UNUSED_16 (1 << 16) /* cleared */
+#define R_MODE_UNUSED_17 (1 << 17) /* cleared */
+#define R_MODE_UNUSED_18 (1 << 18) /* cleared */
+#define R_MODE_UNUSED_19 (1 << 19) /* cleared */
#define R_FIXED_THREADS (1 << 19)
-#define R_MODE_DEPRECATED_20 (1 << 20) /* cleared */
-#define R_MODE_DEPRECATED_21 (1 << 21) /* cleared */
+#define R_MODE_UNUSED_20 (1 << 20) /* cleared */
+#define R_MODE_UNUSED_21 (1 << 21) /* cleared */
#define R_NO_OVERWRITE (1 << 22) /* skip existing files */
#define R_TOUCH (1 << 23) /* touch files before rendering */
#define R_SIMPLIFY (1 << 24)
#define R_EDGE_FRS (1 << 25) /* R_EDGE reserved for Freestyle */
#define R_PERSISTENT_DATA (1 << 26) /* keep data around for re-render */
-#define R_MODE_DEPRECATED_27 (1 << 27) /* cleared */
+#define R_MODE_UNUSED_27 (1 << 27) /* cleared */
/* RenderData.seq_flag */
enum {
- R_SEQ_DEPRECATED_0 = (1 << 0), /* cleared */
- R_SEQ_DEPRECATED_1 = (1 << 1), /* cleared */
- R_SEQ_DEPRECATED_2 = (1 << 2), /* cleared */
+ R_SEQ_UNUSED_0 = (1 << 0), /* cleared */
+ R_SEQ_UNUSED_1 = (1 << 1), /* cleared */
+ R_SEQ_UNUSED_2 = (1 << 2), /* cleared */
R_SEQ_SOLID_TEX = (1 << 3),
R_SEQ_CAMERA_DOF = (1 << 4),
};
@@ -1858,18 +1858,18 @@ enum {
#define R_MATNODE_PREVIEW (1 << 5)
#define R_DOCOMP (1 << 6)
#define R_COMP_CROP (1 << 7)
-#define R_SCEMODE_DEPRECATED_8 (1 << 8) /* cleared */
+#define R_SCEMODE_UNUSED_8 (1 << 8) /* cleared */
#define R_SINGLE_LAYER (1 << 9)
#define R_EXR_TILE_FILE (1 << 10)
-#define R_SCEMODE_DEPRECATED_11 (1 << 11) /* cleared */
+#define R_SCEMODE_UNUSED_11 (1 << 11) /* cleared */
#define R_NO_IMAGE_LOAD (1 << 12)
-#define R_SCEMODE_DEPRECATED_13 (1 << 13) /* cleared */
+#define R_SCEMODE_UNUSED_13 (1 << 13) /* cleared */
#define R_NO_FRAME_UPDATE (1 << 14)
#define R_FULL_SAMPLE (1 << 15)
-#define R_SCEMODE_DEPRECATED_16 (1 << 16) /* cleared */
-#define R_SCEMODE_DEPRECATED_17 (1 << 17) /* cleared */
+#define R_SCEMODE_UNUSED_16 (1 << 16) /* cleared */
+#define R_SCEMODE_UNUSED_17 (1 << 17) /* cleared */
#define R_TEXNODE_PREVIEW (1 << 18)
-#define R_SCEMODE_DEPRECATED_19 (1 << 19) /* cleared */
+#define R_SCEMODE_UNUSED_19 (1 << 19) /* cleared */
#define R_EXR_CACHE_FILE (1 << 20)
#define R_MULTIVIEW (1 << 21)
@@ -1904,7 +1904,7 @@ enum {
enum {
/** deprecated, should only be used in versioning code only */
R_COLOR_MANAGEMENT = (1 << 0),
- R_COLOR_MANAGEMENT_DEPRECATED_1 = (1 << 1),
+ R_COLOR_MANAGEMENT_UNUSED_1 = (1 << 1),
};
#ifdef DNA_DEPRECATED
@@ -2180,15 +2180,15 @@ typedef enum ePaintSymmetryFlags {
/* Sculpt.flags */
/* These can eventually be moved to paint flags? */
typedef enum eSculptFlags {
- SCULPT_FLAG_DEPRECATED_0 = (1 << 0), /* cleared */
- SCULPT_FLAG_DEPRECATED_1 = (1 << 1), /* cleared */
- SCULPT_FLAG_DEPRECATED_2 = (1 << 2), /* cleared */
+ SCULPT_FLAG_UNUSED_0 = (1 << 0), /* cleared */
+ SCULPT_FLAG_UNUSED_1 = (1 << 1), /* cleared */
+ SCULPT_FLAG_UNUSED_2 = (1 << 2), /* cleared */
SCULPT_LOCK_X = (1 << 3),
SCULPT_LOCK_Y = (1 << 4),
SCULPT_LOCK_Z = (1 << 5),
- SCULPT_FLAG_DEPRECATED_6 = (1 << 6), /* cleared */
+ SCULPT_FLAG_UNUSED_6 = (1 << 6), /* cleared */
SCULPT_USE_OPENMP = (1 << 7),
SCULPT_ONLY_DEFORM = (1 << 8),
@@ -2354,7 +2354,7 @@ typedef enum eGPencil_Guide_Reference {
#define PE_DEFLECT_EMITTER (1 << 2)
#define PE_INTERPOLATE_ADDED (1 << 3)
#define PE_DRAW_PART (1 << 4)
-#define PE_DEPRECATED_6 (1 << 6) /* cleared */
+#define PE_UNUSED_6 (1 << 6) /* cleared */
#define PE_FADE_TIME (1 << 7)
#define PE_AUTO_VELOCITY (1 << 8)