[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1156] trunk/py/scripts/addons/ io_import_images_as_planes.py: fix use-alpha bug, thanks to Olivier Amrein for patch
Florian Meyer
florianfelix at web.de
Sun Nov 14 16:12:45 CET 2010
Revision: 1156
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1156
Author: testscreenings
Date: 2010-11-14 16:12:44 +0100 (Sun, 14 Nov 2010)
Log Message:
-----------
fix use-alpha bug, thanks to Olivier Amrein for patch
Modified Paths:
--------------
trunk/py/scripts/addons/io_import_images_as_planes.py
Modified: trunk/py/scripts/addons/io_import_images_as_planes.py
===================================================================
--- trunk/py/scripts/addons/io_import_images_as_planes.py 2010-11-14 13:20:31 UTC (rev 1155)
+++ trunk/py/scripts/addons/io_import_images_as_planes.py 2010-11-14 15:12:44 UTC (rev 1156)
@@ -296,7 +296,7 @@
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
More information about the Bf-extensions-cvs
mailing list