From 02158e4b98588d3175f188b9f4697aa0d1eb88a6 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 6 Oct 2011 14:27:22 +0000 Subject: Fix #28818: Error when trying to import obj Fix #28816: Error when importing obj file with texture due to api change Update obj importer and xcf importer to use new post-texface api. --- io_import_gimp_image_to_scene.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'io_import_gimp_image_to_scene.py') diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index 4632c227..1fd98b28 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -354,7 +354,6 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ UVFace = Active.data.uv_textures[0].data[0] UVFace.image = Img - UVFace.use_image = True Tex.image = Img @@ -377,7 +376,6 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ UVFace = Active.data.uv_textures[0].data[0] UVFace.image = Img - UVFace.use_image = True Tex.image = Img -- cgit v1.2.3