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>2018-12-17 05:21:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-17 05:55:06 +0300
commitd72d2d4133ba578ee29e65cc99b01fab0ded0265 (patch)
tree431f413aa00fd1727a888af1f3c55d46bd02b68d /source/blender/makesdna/DNA_image_types.h
parent9149e8942107343fb31639406124428e6ff1a029 (diff)
DNA: clear / remove deprecated flags
- Clear deprecated flags for ID's: Scene, Sequence, World, Object & Mesh. - Clear deprecated flags for Spaces: outliner, 3D view & image. - Remove unused `Mesh.drawflag` - Remove unused `USER_ALLWINCODECS`, `USER_MMB_PASTE`. - Remove `V3D_SOLID_TEX` & `V3D_ZBUF_SELECT` - used in a few areas. - Flip `Object.empty_image_visibility_flag` (avoids do-version on each new flag) - Rename 'Backside' -> 'Back' in context of drawing - showing 'Back' makes sense.
Diffstat (limited to 'source/blender/makesdna/DNA_image_types.h')
-rw-r--r--source/blender/makesdna/DNA_image_types.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index 22329661da2..37a0f65135b 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -157,35 +157,35 @@ typedef struct Image {
/* Image.flag */
enum {
- // IMA_FIELDS = (1 << 0),
- // IMA_STD_FIELD = (1 << 1),
+ IMA_FLAG_DEPRECATED_0 = (1 << 0), /* cleared */
+ IMA_FLAG_DEPRECATED_1 = (1 << 1), /* cleared */
#ifdef DNA_DEPRECATED
- IMA_DO_PREMUL = (1 << 2), /* deprecated, should not be used */
+ IMA_DO_PREMUL = (1 << 2),
#endif
- //IMA_REFLECT = (1 << 4), /* deprecated */
+ IMA_FLAG_DEPRECATED_4 = (1 << 4), /* cleared */
IMA_NOCOLLECT = (1 << 5),
- //IMA_DONE_TAG = (1 << 6), // UNUSED
+ IMA_FLAG_DEPRECATED_6 = (1 << 6), /* cleared */
IMA_OLD_PREMUL = (1 << 7),
- // IMA_CM_PREDIVIDE = (1 << 8), /* deprecated, should not be used */
+ IMA_FLAG_DEPRECATED_8 = (1 << 8), /* cleared */
IMA_USED_FOR_RENDER = (1 << 9),
IMA_USER_FRAME_IN_RANGE = (1 << 10), /* for image user, but these flags are mixed */
IMA_VIEW_AS_RENDER = (1 << 11),
IMA_IGNORE_ALPHA = (1 << 12),
IMA_DEINTERLACE = (1 << 13),
IMA_USE_VIEWS = (1 << 14),
- // IMA_IS_STEREO = (1 << 15), /* deprecated */
- // IMA_IS_MULTIVIEW = (1 << 16), /* deprecated */
+ IMA_FLAG_DEPRECATED_15 = (1 << 15), /* cleared */
+ IMA_FLAG_DEPRECATED_16 = (1 << 16), /* cleared */
};
/* Image.tpageflag */
-//#define IMA_TILES (1 << 0) /* Deprecated */
-//#define IMA_TWINANIM (1 << 1) /* Deprecated */
-#define IMA_COLCYCLE (1 << 2) /* Deprecated */
-#define IMA_MIPMAP_COMPLETE (1 << 3) /* all mipmap levels in OpenGL texture set? */
-//#define IMA_CLAMP_U (1 << 4) /* Deprecated */
-//#define IMA_CLAMP_V (1 << 5) /* Deprecated */
-#define IMA_TPAGE_REFRESH (1 << 6)
-#define IMA_GLBIND_IS_DATA (1 << 7) /* opengl image texture bound as non-color data */
+#define IMA_TPAGEFLAG_DEPRECATED_0 (1 << 0) /* cleared */
+#define IMA_TPAGEFLAG_DEPRECATED_1 (1 << 1) /* cleared */
+#define IMA_TPAGEFLAG_DEPRECATED_2 (1 << 2) /* cleared */
+#define IMA_MIPMAP_COMPLETE (1 << 3) /* all mipmap levels in OpenGL texture set? */
+#define IMA_TPAGEFLAG_DEPRECATED_4 (1 << 4) /* cleared */
+#define IMA_TPAGEFLAG_DEPRECATED_5 (1 << 5) /* cleared */
+#define IMA_TPAGE_REFRESH (1 << 6)
+#define IMA_GLBIND_IS_DATA (1 << 7) /* opengl image texture bound as non-color data */
/* ima->type and ima->source moved to BKE_image.h, for API */