From a72220ecf097d9d23d64c5afc774fcedc353f81c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 19 Dec 2018 10:55:53 +1100 Subject: DNA: move back-face culling to shading popover Overlay options shouldn't be used when overlays are disabled. Move to shading popover, reported as T58070. --- source/blender/makesdna/DNA_view3d_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_view3d_types.h') diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 242be7b75cc..1fc143ed71f 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -362,7 +362,7 @@ typedef struct View3D { #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_FLAG2_DEPRECATED_10 (1 << 10) /* cleared */ #define V3D_RENDER_BORDER (1 << 11) #define V3D_FLAG2_DEPRECATED_12 (1 << 12) /* cleared */ #define V3D_FLAG2_DEPRECATED_13 (1 << 13) /* cleared */ @@ -396,6 +396,7 @@ enum { V3D_SHADING_SCENE_WORLD = (1 << 7), V3D_SHADING_XRAY_BONE = (1 << 8), V3D_SHADING_WORLD_ORIENTATION = (1 << 9), + V3D_SHADING_BACKFACE_CULLING = (1 << 10), }; /* View3DShading->color_type */ -- cgit v1.2.3