Skip to content
Snippets Groups Projects
Commit b9f8784d authored by Florian Meyer's avatar Florian Meyer
Browse files

fix use-alpha bug, thanks to Olivier Amrein for patch

parent 7d33efb2
No related branches found
No related tags found
No related merge requests found
...@@ -296,7 +296,7 @@ def mapset(self, value): ...@@ -296,7 +296,7 @@ def mapset(self, value):
and self.texture_slots[0].texture.type == 'IMAGE' and self.texture_slots[0].texture.type == 'IMAGE'
and self.texture_slots[0].texture.image): and self.texture_slots[0].texture.image):
self.texture_slots[0].texture.image.use_premultiply = value[5] 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 self.texture_slots[0].use_map_alpha=True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment