diff options
author | Daniel Salazar <zanqdo@gmail.com> | 2010-06-20 22:59:10 +0400 |
---|---|---|
committer | Daniel Salazar <zanqdo@gmail.com> | 2010-06-20 22:59:10 +0400 |
commit | a1566caa0ac0ee6609c89f832eaaeba224a67ca7 (patch) | |
tree | 89081f568a5b7f30995598ad56aa3abfdc3ce516 | |
parent | 8c949bb496b60e6ad2153a704a7b879377991550 (diff) |
Patch by Oenvoyage for import images as planes, when u put use alpha, it
doesnt render out the plane, it is missing the alpha
-rw-r--r-- | import_images_as_planes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/import_images_as_planes.py b/import_images_as_planes.py index 3c22d573..519ec362 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) |