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-19 02:55:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-19 02:55:53 +0300
commita72220ecf097d9d23d64c5afc774fcedc353f81c (patch)
tree440b9a2b095de95d43170b38886d1bf9c7ff79dd /source/blender/makesdna/DNA_view3d_types.h
parentd46d8e831ce0c6a519d60cdcb4c8a5d4f5a88428 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h3
1 files changed, 2 insertions, 1 deletions
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 */