diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-17 05:21:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-17 05:55:06 +0300 |
commit | d72d2d4133ba578ee29e65cc99b01fab0ded0265 (patch) | |
tree | 431f413aa00fd1727a888af1f3c55d46bd02b68d /source/blender/makesdna/DNA_view3d_types.h | |
parent | 9149e8942107343fb31639406124428e6ff1a029 (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_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index c402192c02a..242be7b75cc 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -301,21 +301,21 @@ typedef struct View3D { /* View3D->stereo_flag (short) */ -#define V3D_S3D_DISPCAMERAS (1 << 0) -#define V3D_S3D_DISPPLANE (1 << 1) -#define V3D_S3D_DISPVOLUME (1 << 2) +#define V3D_S3D_DISPCAMERAS (1 << 0) +#define V3D_S3D_DISPPLANE (1 << 1) +#define V3D_S3D_DISPVOLUME (1 << 2) /* View3D->flag (short) */ -/*#define V3D_FLAG_DEPRECATED_1 (1 << 0) */ /*UNUSED */ -/*#define V3D_FLAG_DEPRECATED_2 (1 << 1) */ /* UNUSED */ -#define V3D_HIDE_HELPLINES (1 << 2) -#define V3D_INVALID_BACKBUF (1 << 3) +#define V3D_FLAG_DEPRECATED_0 (1 << 0) /* cleared */ +#define V3D_FLAG_DEPRECATED_1 (1 << 1) /* cleared */ +#define V3D_HIDE_HELPLINES (1 << 2) +#define V3D_INVALID_BACKBUF (1 << 3) -/* #define V3D_FLAG_DEPRECATED_10 (1 << 10) */ /* UNUSED */ -#define V3D_SELECT_OUTLINE (1 << 11) -#define V3D_ZBUF_SELECT (1 << 12) /* XXX: DNA deprecated */ -#define V3D_GLOBAL_STATS (1 << 13) -#define V3D_DRAW_CENTERS (1 << 15) +#define V3D_FLAG_DEPRECATED_10 (1 << 10) /* cleared */ +#define V3D_SELECT_OUTLINE (1 << 11) +#define V3D_FLAG_DEPRECATED_12 (1 << 12) /* cleared */ +#define V3D_GLOBAL_STATS (1 << 13) +#define V3D_DRAW_CENTERS (1 << 15) /* RegionView3d->persp */ #define RV3D_ORTHO 0 @@ -354,20 +354,20 @@ typedef struct View3D { (((view) >= RV3D_VIEW_FRONT) && ((view) <= RV3D_VIEW_BOTTOM)) /* View3d->flag2 (int) */ -#define V3D_RENDER_OVERRIDE (1 << 2) -#define V3D_SOLID_TEX (1 << 3) +#define V3D_RENDER_OVERRIDE (1 << 2) +#define V3D_FLAG2_DEPRECATED_3 (1 << 3) /* cleared */ #define V3D_SHOW_ANNOTATION (1 << 4) -#define V3D_LOCK_CAMERA (1 << 5) -#define V3D_RENDER_SHADOW (1 << 6) /* This is a runtime only flag that's used to tell draw_mesh_object() that we're doing a shadow pass instead of a regular draw */ -#define V3D_SHOW_RECONSTRUCTION (1 << 7) -#define V3D_SHOW_CAMERAPATH (1 << 8) -#define V3D_SHOW_BUNDLENAME (1 << 9) -#define V3D_BACKFACE_CULLING (1 << 10) -#define V3D_RENDER_BORDER (1 << 11) -#define V3D_SOLID_MATCAP (1 << 12) /* user flag */ -#define V3D_SHOW_SOLID_MATCAP (1 << 13) /* runtime flag */ -#define V3D_OCCLUDE_WIRE (1 << 14) /* XXX: DNA deprecated */ -#define V3D_SHOW_MODE_SHADE_OVERRIDE (1 << 15) /* XXX: DNA deprecated */ +#define V3D_LOCK_CAMERA (1 << 5) +#define V3D_FLAG2_DEPRECATED_6 (1 << 6) /* cleared */ +#define V3D_SHOW_RECONSTRUCTION (1 << 7) +#define V3D_SHOW_CAMERAPATH (1 << 8) +#define V3D_SHOW_BUNDLENAME (1 << 9) +#define V3D_BACKFACE_CULLING (1 << 10) +#define V3D_RENDER_BORDER (1 << 11) +#define V3D_FLAG2_DEPRECATED_12 (1 << 12) /* cleared */ +#define V3D_FLAG2_DEPRECATED_13 (1 << 13) /* cleared */ +#define V3D_FLAG2_DEPRECATED_14 (1 << 14) /* cleared */ +#define V3D_FLAG2_DEPRECATED_15 (1 << 15) /* cleared */ /* View3d->gp_flag (short) */ #define V3D_GP_SHOW_PAPER (1 << 0) /* Activate paper to cover all viewport */ |