diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index ee6d779f269371721ba21c01520ba2a6a12c84e9..bdd4552eac598a802c95bd028eff64add3261874 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -343,6 +343,10 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ if PremulAlpha: Img.use_premultiply = True Img.filepath = '%s%s%s' % (PathSaveRaw, Name, ExtSave) + UVFace = Active.data.uv_textures[0].data[0] + UVFace.image = Img + UVFace.use_image = True + Tex.image = Img Mat.texture_slots.add() @@ -362,6 +366,10 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ Img.source = 'FILE' Img.filepath = '%s%s%s' % (PathSaveRaw, Name, ExtSave) + UVFace = Active.data.uv_textures[0].data[0] + UVFace.image = Img + UVFace.use_image = True + Tex.image = Img Mat.texture_slots.add()