From 0f5738d9022c61b9df061849839cbfe2616438b4 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Wed, 11 Sep 2019 10:51:28 +0200 Subject: Fix T67239: Import images as planes: Eevee alpha support --- io_import_images_as_planes.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'io_import_images_as_planes.py') 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) -- cgit v1.2.3