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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-19 13:26:11 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-19 13:27:16 +0300
commit98e2713e9417c1c4a76f63076bbfd816131df2bd (patch)
treea5ebb052f208f8c56d9fe7edd7d1dcd4c73be234 /release
parenta277804c25853610876abdb68b54d9c678618eb7 (diff)
UI: minor layout tweaks to 3D viewport gizmo menu
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py38
1 files changed, 21 insertions, 17 deletions
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):