Fix T67239: Import images as planes: Eevee alpha support

This commit is contained in:
Damien Picard 2019-09-11 10:51:28 +02:00
parent 3ee0396ec8
commit 0f5738d902
Notes: blender-bot 2023-02-14 19:12:10 +01:00
Referenced by issue #67239, Images as planes missing Eevee alpha channel support
Referenced by issue #67239, Images as planes missing Eevee alpha channel support
1 changed files with 2 additions and 0 deletions

View File

@ -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)