diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-02-01 09:41:30 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-02-01 09:41:30 +0400 |
commit | de7ff80aa591a0b9e8421106f24e961aa5508327 (patch) | |
tree | 13d3a701ef937ced46dd6be1e5b6fb7fd877ce9e /io_import_gimp_image_to_scene.py | |
parent | 62c114e2db2dbbb036411a8e577c0298dcdbb247 (diff) |
Fix for api changes in alpha
Diffstat (limited to 'io_import_gimp_image_to_scene.py')
-rw-r--r-- | io_import_gimp_image_to_scene.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index e9aaf862..bb0cf8cd 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -387,12 +387,12 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset, Tex = bpy.data.textures.new(NameShort+'_A', 'IMAGE') Tex.extension = 'CLIP' Tex.use_preview_alpha = True - Tex.use_alpha = False Img = bpy.data.images.new(NameShort+'_A', 128, 128) Img.source = 'FILE' Img.alpha_mode = AlphaMode Img.filepath = '%s%s_A%s' % (PathSaveRaw, Name, ExtSave) + Img.use_alpha = False Tex.image = Img |