Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Meyer <florianfelix@web.de>2010-11-14 18:12:44 +0300
committerFlorian Meyer <florianfelix@web.de>2010-11-14 18:12:44 +0300
commitb9f8784d3b63be9072d5628ddcb55e57046ed34e (patch)
treec5a8fc4e9f6d9358e7c170cfdf707d1ddc01b8fa /io_import_images_as_planes.py
parent7d33efb20d62615761ed40615d75d44258d7ee49 (diff)
fix use-alpha bug, thanks to Olivier Amrein for patch
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 8ce9b4c7..011580f9 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