[Bf-blender-cvs] [960784e7193] blender2.8: UI: Overlay panel fix for display_all
Pablo Vazquez
noreply at git.blender.org
Wed Jul 11 18:46:12 CEST 2018
Commit: 960784e719364f418f5858cf7aad555f3ba06889
Author: Pablo Vazquez
Date: Wed Jul 11 18:46:08 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB960784e719364f418f5858cf7aad555f3ba06889
UI: Overlay panel fix for display_all
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 08a88ece34e..a132983dbb9 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4058,7 +4058,6 @@ class VIEW3D_PT_overlay_geometry(Panel):
layout = self.layout
view = context.space_data
overlay = view.overlay
- shading = view.shading
display_all = overlay.show_overlays
col = layout.column()
@@ -4071,6 +4070,8 @@ class VIEW3D_PT_overlay_geometry(Panel):
sub.prop(overlay, "wireframe_threshold", text="Wireframe")
col = layout.column(align=True)
+ col.active = display_all
+
split = col.split()
sub = split.column(align=True)
sub.prop(overlay, "show_backface_culling")
@@ -4093,6 +4094,7 @@ class VIEW3D_PT_overlay_motion_tracking(Panel):
def draw(self, context):
layout = self.layout
view = context.space_data
+ overlay = view.overlay
display_all = overlay.show_overlays
col = layout.column()
More information about the Bf-blender-cvs
mailing list