diff options
author | Damien Picard <dam.pic@free.fr> | 2019-09-11 11:51:28 +0300 |
---|---|---|
committer | Damien Picard <dam.pic@free.fr> | 2019-09-11 11:54:14 +0300 |
commit | 0f5738d9022c61b9df061849839cbfe2616438b4 (patch) | |
tree | 037ff87d4c832a7bea5b6ee4483eb17f81992296 | |
parent | 3ee0396ec854f80957dd7061d2980d4923598a3a (diff) |
Fix T67239: Import images as planes: Eevee alpha support
-rw-r--r-- | io_import_images_as_planes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index c707c0af..2cc6daf2 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -1004,6 +1004,8 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): material = bpy.data.materials.new(name=name_compat) material.use_nodes = True + if self.use_transparency: + material.blend_method = 'BLEND' node_tree = material.node_tree out_node = clean_node_tree(node_tree) |