From 898f4ae0642e412a05e087a12bb8ef7dcc73e181 Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Thu, 19 May 2011 15:19:34 +0000 Subject: [PATCH] update for change in blender api --- io_import_gimp_image_to_scene.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index f9e4b7ebb..e0f6a7aa7 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -250,9 +250,9 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ for Area in Areas: if Area.type == 'VIEW_3D': - Area.active_space.viewport_shade = 'TEXTURED' - Area.active_space.show_textured_solid = True - Area.active_space.show_floor = False + Area.spaces.active.viewport_shade = 'TEXTURED' + Area.spaces.active.show_textured_solid = True + Area.spaces.active.show_floor = False #------------------------------------------------- # 3D LAYERS -- GitLab