From 70355052e2e9f73c0239442d2d7d228b60970923 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 8 Nov 2018 14:30:27 +0100 Subject: Fix: show options of image empty only for image empties --- release/scripts/startup/bl_ui/properties_data_empty.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_ui/properties_data_empty.py b/release/scripts/startup/bl_ui/properties_data_empty.py index 36295eb4b7e..f3a176a52fc 100644 --- a/release/scripts/startup/bl_ui/properties_data_empty.py +++ b/release/scripts/startup/bl_ui/properties_data_empty.py @@ -41,6 +41,7 @@ class DATA_PT_empty(DataButtonsPanel, Panel): ob = context.object layout.prop(ob, "empty_display_type", text="Display As") + layout.prop(ob, "empty_display_size", text="Size") if ob.empty_display_type == 'IMAGE': layout.template_ID(ob, "data", open="image.open", unlink="object.unlink_data") @@ -53,13 +54,9 @@ class DATA_PT_empty(DataButtonsPanel, Panel): col.prop(ob, "empty_image_offset", text="Offset X", index=0) col.prop(ob, "empty_image_offset", text="Y", index=1) - layout.separator() - - layout.prop(ob, "empty_display_size", text="Size") - layout.prop(ob, "empty_image_depth", text="Depth", expand=True) - - layout.prop(ob, "show_empty_image_orthographic", text="Display Orthographic") - layout.prop(ob, "show_empty_image_perspective", text="Display Perspective") + layout.prop(ob, "empty_image_depth", text="Depth", expand=True) + layout.prop(ob, "show_empty_image_orthographic", text="Display Orthographic") + layout.prop(ob, "show_empty_image_perspective", text="Display Perspective") classes = ( -- cgit v1.2.3