diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-03-20 18:33:17 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-03-20 18:33:49 +0300 |
commit | c5fc861172879102034129ecbe653e91eeff5caf (patch) | |
tree | 8619b3e2b97f48eeaac874b28c9db999fedf5c76 /release/scripts/startup | |
parent | 3508ffc34c1f742e6a798814b80075ccbe1baa22 (diff) |
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.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_empty.py | 7 |
1 files changed, 6 insertions, 1 deletions
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) |