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:
authorJacques Lucke <mail@jlucke.com>2018-11-08 16:30:27 +0300
committerJacques Lucke <mail@jlucke.com>2018-11-08 16:30:27 +0300
commit70355052e2e9f73c0239442d2d7d228b60970923 (patch)
tree02f5f47b33483c5dd8b0db9a559b33cb1280e420 /release/scripts/startup/bl_ui/properties_data_empty.py
parentfe0fdf1771c65dfcd64b5650190cc19f0eaac290 (diff)
Fix: show options of image empty only for image empties
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_empty.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_empty.py11
1 files changed, 4 insertions, 7 deletions
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 = (