diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-16 17:01:11 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-16 17:57:38 +0300 |
commit | aac95aa1e9727f145e258561816baac80b915f20 (patch) | |
tree | ae10bc800391cf879acbcfdd8132eb9397640c36 /source/blender/editors/include/ED_image.h | |
parent | c1ec6f00f278d823a7208c4cc3e44f58e20455a3 (diff) |
Images: move save modified images operator from Python to C
We will use this for saving images along with the .blend file.
Ref D4861
Diffstat (limited to 'source/blender/editors/include/ED_image.h')
-rw-r--r-- | source/blender/editors/include/ED_image.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_image.h b/source/blender/editors/include/ED_image.h index 5bd806b3dbf..a9be9598761 100644 --- a/source/blender/editors/include/ED_image.h +++ b/source/blender/editors/include/ED_image.h @@ -28,6 +28,7 @@ struct ARegion; struct ImBuf; struct Image; struct ImageUser; +struct ReportList; struct Scene; struct SpaceImage; struct ToolSettings; @@ -110,4 +111,7 @@ void ED_image_draw_info(struct Scene *scene, bool ED_space_image_show_cache(struct SpaceImage *sima); +int ED_image_save_all_modified_count(const struct bContext *C); +bool ED_image_save_all_modified(const struct bContext *C, struct ReportList *reports); + #endif /* __ED_IMAGE_H__ */ |