rna/py api
rename image.save() --> image.save_render() because it uses render settings for saving. added image.save() which is like pressing save in the image view, saving to the images path and removing the dirty flag.
This commit is contained in:
@@ -38,7 +38,7 @@ class SaveDirty(bpy.types.Operator):
|
||||
self.report({'WARNING'}, "Path used by more then one image: " + path)
|
||||
else:
|
||||
unique_paths.add(path)
|
||||
image.save(path=path)
|
||||
image.save()
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user