[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1956] trunk/py/scripts/addons/ io_import_gimp_image_to_scene.py: update for change in blender api
Campbell Barton
ideasman42 at gmail.com
Thu May 19 17:19:34 CEST 2011
Revision: 1956
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1956
Author: campbellbarton
Date: 2011-05-19 15:19:34 +0000 (Thu, 19 May 2011)
Log Message:
-----------
update for change in blender api
Modified Paths:
--------------
trunk/py/scripts/addons/io_import_gimp_image_to_scene.py
Modified: trunk/py/scripts/addons/io_import_gimp_image_to_scene.py
===================================================================
--- trunk/py/scripts/addons/io_import_gimp_image_to_scene.py 2011-05-19 08:43:23 UTC (rev 1955)
+++ trunk/py/scripts/addons/io_import_gimp_image_to_scene.py 2011-05-19 15:19:34 UTC (rev 1956)
@@ -250,9 +250,9 @@
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
More information about the Bf-extensions-cvs
mailing list