[Bf-blender-cvs] [98e2713e941] master: UI: minor layout tweaks to 3D viewport gizmo menu
Brecht Van Lommel
noreply at git.blender.org
Fri Apr 19 12:27:31 CEST 2019
Commit: 98e2713e9417c1c4a76f63076bbfd816131df2bd
Author: Brecht Van Lommel
Date: Fri Apr 19 12:26:11 2019 +0200
Branches: master
https://developer.blender.org/rB98e2713e9417c1c4a76f63076bbfd816131df2bd
UI: minor layout tweaks to 3D viewport gizmo menu
===================================================================
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 3ce892dbd83..f572362b02b 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -409,7 +409,6 @@ class _draw_tool_settings_context_mode:
else:
txt_ma = ""
- row.label(text="Material:")
sub = row.row()
sub.ui_units_x = 8
sub.popover(
@@ -5129,24 +5128,29 @@ class VIEW3D_PT_gizmo_display(Panel):
colsub.prop(view, "show_gizmo_tool", text="Active Tools")
colsub.prop(view, "show_gizmo_context", text="Active Object")
- colsub = col.column()
- colsub.active = view.show_gizmo_context
- colsub.label(text="Object Gizmos")
- colsub.prop(scene.transform_orientation_slots[1], "type", text="")
- colsub.prop(view, "show_gizmo_object_translate", text="Move")
- colsub.prop(view, "show_gizmo_object_rotate", text="Rotate")
- colsub.prop(view, "show_gizmo_object_scale", text="Scale")
+ layout.separator()
+
+ col = layout.column()
+ col.active = view.show_gizmo_context
+ col.label(text="Object Gizmos")
+ col.prop(scene.transform_orientation_slots[1], "type", text="")
+ col.prop(view, "show_gizmo_object_translate", text="Move")
+ col.prop(view, "show_gizmo_object_rotate", text="Rotate")
+ col.prop(view, "show_gizmo_object_scale", text="Scale")
+
+ layout.separator()
# Match order of object type visibility
- colsub.label(text="Empty")
- colsub.prop(view, "show_gizmo_empty_image", text="Image")
- colsub.prop(view, "show_gizmo_empty_force_field", text="Force Field")
- colsub.label(text="Light")
- colsub.prop(view, "show_gizmo_light_size", text="Size")
- colsub.prop(view, "show_gizmo_light_look_at", text="Look At")
- colsub.label(text="Camera")
- colsub.prop(view, "show_gizmo_camera_lens", text="Lens")
- colsub.prop(view, "show_gizmo_camera_dof_distance", text="Focus Distance")
+ col = layout.column()
+ col.label(text="Empty")
+ col.prop(view, "show_gizmo_empty_image", text="Image")
+ col.prop(view, "show_gizmo_empty_force_field", text="Force Field")
+ col.label(text="Light")
+ col.prop(view, "show_gizmo_light_size", text="Size")
+ col.prop(view, "show_gizmo_light_look_at", text="Look At")
+ col.label(text="Camera")
+ col.prop(view, "show_gizmo_camera_lens", text="Lens")
+ col.prop(view, "show_gizmo_camera_dof_distance", text="Focus Distance")
class VIEW3D_PT_overlay(Panel):
More information about the Bf-blender-cvs
mailing list