diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-19 19:19:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-19 19:19:34 +0400 |
commit | 898f4ae0642e412a05e087a12bb8ef7dcc73e181 (patch) | |
tree | d6e9f4d98a06687fbb1f9532b6cfe88283fee1d2 | |
parent | 8a9d2b32b9d4ecffc8027027d207c580a142a918 (diff) |
update for change in blender api
-rw-r--r-- | io_import_gimp_image_to_scene.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index f9e4b7eb..e0f6a7aa 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 |