Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-05-16 14:42:04 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-05-16 16:20:23 +0300
commit29a3f43da5d3423769f4871baad900a6e2f68942 (patch)
tree833a6fbb5d76a910fe3d051471b530f518123ac6 /source/blender/blenkernel/BKE_image_save.h
parentadf183eeaeaba4eeeea31353e4a939f7a5c5c9fc (diff)
Python API: make Image.save and Image.save_render more consistent with operator
Previously these only supported a subset of what the save operator could do, for example no multilayer or stereo saving, no proper color management. Now share code with the image save operator so it's more consistent.
Diffstat (limited to 'source/blender/blenkernel/BKE_image_save.h')
-rw-r--r--source/blender/blenkernel/BKE_image_save.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_image_save.h b/source/blender/blenkernel/BKE_image_save.h
index 673a7dffb82..b5db15bb174 100644
--- a/source/blender/blenkernel/BKE_image_save.h
+++ b/source/blender/blenkernel/BKE_image_save.h
@@ -46,8 +46,7 @@ bool BKE_image_save_options_init(ImageSaveOptions *opts,
struct Scene *scene,
struct Image *ima,
struct ImageUser *iuser,
- const bool guess_path,
- const bool save_as_render);
+ const bool guess_path);
void BKE_image_save_options_update(struct ImageSaveOptions *opts, struct Image *ima);
void BKE_image_save_options_free(struct ImageSaveOptions *opts);