From c5fc861172879102034129ecbe653e91eeff5caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 20 Mar 2019 16:33:17 +0100 Subject: Fix T58550 Dragged in images dont overlap properly This patch adds a new "Use Alpha" option on image empties to avoid ordering issue of reference images. If ordering is not important, "Use Alpha" can be enabled to provide transparency and alpha blending support. --- release/scripts/startup/bl_ui/properties_data_empty.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '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 b84ee7494f7..b79b683f5c9 100644 --- a/release/scripts/startup/bl_ui/properties_data_empty.py +++ b/release/scripts/startup/bl_ui/properties_data_empty.py @@ -48,7 +48,12 @@ class DATA_PT_empty(DataButtonsPanel, Panel): layout.row(align=True).row(align=True) - layout.prop(ob, "color", text="Transparency", index=3, slider=True) + layout.prop(ob, "empty_image_use_alpha") + + col = layout.column() + col.active = ob.empty_image_use_transparency + col.prop(ob, "color", text="Transparency", index=3, slider=True) + col = layout.column(align=True) col.prop(ob, "empty_image_offset", text="Offset X", index=0) col.prop(ob, "empty_image_offset", text="Y", index=1) -- cgit v1.2.3