diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index 8c1964d49f6af9a1aaf47e846f323225fa470cf0..b141975bb30c7d068320b727aa3681f9430e0d4a 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)