diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-12 14:40:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-12 14:40:10 +0400 |
commit | 0c7f5634e314657619cbb7e01cb37c2eb54fbfc3 (patch) | |
tree | d868d69d3fe390c23737304dce7ecb9ee3393e8c /io_import_gimp_image_to_scene.py | |
parent | e5097f28e939361dd511d8a3ccf7cfdcfd7a4d5a (diff) |
fix for change in blenders api
Diffstat (limited to 'io_import_gimp_image_to_scene.py')
-rw-r--r-- | io_import_gimp_image_to_scene.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index 8c1964d4..b141975b 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -44,7 +44,7 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ #Folder = '['+File.rstrip(Ext)+']'+'_images/' Folder = 'images_'+'['+File.rstrip(Ext)+']/' - if bpy.data.is_dirty: + if not bpy.data.is_saved: PathSaveRaw = Path+Folder PathSave = PathSaveRaw.replace(' ', '\ ') try: os.mkdir(PathSaveRaw) |