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 /release
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 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 3c713de9a71..e8fb17258d1 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4547,6 +4547,9 @@ class VIEW3D_PT_shading_options(Panel):
)
col = layout.column()
+
+ col.prop(shading, "show_backface_culling")
+
row = col.row()
row.active = not shading.show_xray
row.prop(shading, "show_cavity")
@@ -4766,13 +4769,9 @@ class VIEW3D_PT_overlay_geometry(Panel):
col = layout.column(align=True)
col.active = display_all
- split = col.split()
- sub = split.column(align=True)
- sub.prop(overlay, "show_backface_culling")
+ col.prop(overlay, "show_face_orientation")
- sub = split.column(align=True)
- #sub.prop(overlay, "show_onion_skins")
- sub.prop(overlay, "show_face_orientation")
+ # sub.prop(overlay, "show_onion_skins")
class VIEW3D_PT_overlay_motion_tracking(Panel):