Skip to content
Snippets Groups Projects
Commit a1566caa authored by Daniel Salazar's avatar Daniel Salazar
Browse files

Patch by Oenvoyage for import images as planes, when u put use alpha, it

doesnt render out the plane, it is missing the alpha
parent 8c949bb4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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