[Bf-blender-cvs] [70355052e2e] blender2.8: Fix: show options of image empty only for image empties
Jacques Lucke
noreply at git.blender.org
Thu Nov 8 14:30:42 CET 2018
Commit: 70355052e2e9f73c0239442d2d7d228b60970923
Author: Jacques Lucke
Date: Thu Nov 8 14:30:27 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB70355052e2e9f73c0239442d2d7d228b60970923
Fix: show options of image empty only for image empties
===================================================================
M release/scripts/startup/bl_ui/properties_data_empty.py
===================================================================
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 = (
More information about the Bf-blender-cvs
mailing list