From a1566caa0ac0ee6609c89f832eaaeba224a67ca7 Mon Sep 17 00:00:00 2001 From: Daniel Salazar <zanqdo@gmail.com> Date: Sun, 20 Jun 2010 18:59:10 +0000 Subject: [PATCH] Patch by Oenvoyage for import images as planes, when u put use alpha, it doesnt render out the plane, it is missing the alpha --- import_images_as_planes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/import_images_as_planes.py b/import_images_as_planes.py index 3c22d5732..519ec362f 100644 --- a/import_images_as_planes.py +++ b/import_images_as_planes.py @@ -294,6 +294,8 @@ def mapset(self, value): and self.texture_slots[0].texture.type == 'IMAGE' and self.texture_slots[0].texture.image): self.texture_slots[0].texture.image.premultiply = value[5] + if self.alpha: + self.texture_slots[0].map_alpha=True bpy.types.Material.mapping = property(mapget, mapset) -- GitLab