[Bf-blender-cvs] [7f77ee70f1b] blender2.8: UI: minor tweaks to overlay panel
Campbell Barton
noreply at git.blender.org
Wed Jul 11 14:02:04 CEST 2018
Commit: 7f77ee70f1bb95875805eba15806dae4959698c8
Author: Campbell Barton
Date: Wed Jul 11 13:58:10 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7f77ee70f1bb95875805eba15806dae4959698c8
UI: minor tweaks to overlay panel
Position 'outline selected' more prominently,
gives more useful behavior when dragging over the left column.
===================================================================
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 9c8a4265146..bf02a297b53 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -210,11 +210,12 @@ class VIEW3D_HT_header(Header):
# Viewport Settings
layout.popover(
- space_type='VIEW_3D',
- region_type='HEADER',
- panel_type="VIEW3D_PT_object_type_visibility",
- icon="HIDE_OFF",
- text="")
+ space_type='VIEW_3D',
+ region_type='HEADER',
+ panel_type="VIEW3D_PT_object_type_visibility",
+ icon="HIDE_OFF",
+ text="",
+ )
row = layout.row(align=True)
row.prop(shading, "type", text="", expand=True)
@@ -3933,7 +3934,6 @@ class VIEW3D_PT_overlay_guides(Panel):
subsub.prop(overlay, "grid_scale", text="Scale")
subsub.prop(overlay, "grid_subdivisions", text="Subdivisions")
-
sub = split.column()
row = sub.row()
row.label(text="Axes")
@@ -3970,12 +3970,12 @@ class VIEW3D_PT_overlay_object(Panel):
sub = split.column(align=True)
sub.prop(overlay, "show_ornaments", text="Ornaments")
sub.prop(overlay, "show_relationship_lines")
- sub.prop(overlay, "show_all_objects_origin")
+ sub.prop(overlay, "show_outline_selected")
sub = split.column(align=True)
sub.prop(overlay, "show_bones", text="Bones")
sub.prop(overlay, "show_motion_paths")
- sub.prop(overlay, "show_outline_selected")
+ sub.prop(overlay, "show_all_objects_origin")
class VIEW3D_PT_overlay_geometry(Panel):
@@ -4001,7 +4001,7 @@ class VIEW3D_PT_overlay_geometry(Panel):
row.prop(overlay, "show_wireframes", text="", icon=icon_w)
sub = row.row(align=True)
sub.active = overlay.show_wireframes
- sub.prop(overlay, "wireframe_threshold", text="Wireframes")
+ sub.prop(overlay, "wireframe_threshold", text="Wireframe")
sub = split.column(align=True)
sub.prop(overlay, "show_backface_culling")
More information about the Bf-blender-cvs
mailing list