From b9f8784d3b63be9072d5628ddcb55e57046ed34e Mon Sep 17 00:00:00 2001
From: Florian Meyer <florianfelix@web.de>
Date: Sun, 14 Nov 2010 15:12:44 +0000
Subject: [PATCH] fix use-alpha bug, thanks to Olivier Amrein for patch

---
 io_import_images_as_planes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 8ce9b4c75..011580f93 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -296,7 +296,7 @@ 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.use_premultiply = value[5]
-    if self.alpha:
+    if self.use_transparency:
         self.texture_slots[0].use_map_alpha=True
 
 
-- 
GitLab