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:
authorHans Goudey <h.goudey@me.com>2022-03-24 07:24:54 +0300
committerHans Goudey <h.goudey@me.com>2022-03-24 07:24:54 +0300
commitaeb2c2afaf00d1c1ef6cce73b106d5400e52566e (patch)
treeb270abfc0f710366b98ea01e01a2f372c39caa76 /source/blender/blenkernel/intern/image_save.cc
parente253f9f66d6f63592ffd97afe207ef7c72547d03 (diff)
Cleanup: Clang tidy
- Deprecated headers - Else after return - Inconsistent parameter names (I used the most recently modified) - Raw string literals
Diffstat (limited to 'source/blender/blenkernel/intern/image_save.cc')
-rw-r--r--source/blender/blenkernel/intern/image_save.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/image_save.cc b/source/blender/blenkernel/intern/image_save.cc
index f530183f967..913b5553632 100644
--- a/source/blender/blenkernel/intern/image_save.cc
+++ b/source/blender/blenkernel/intern/image_save.cc
@@ -486,7 +486,7 @@ static float *image_exr_from_scene_linear_to_output(float *rect,
bool BKE_image_render_write_exr(ReportList *reports,
const RenderResult *rr,
- const char *filepath,
+ const char *filename,
const ImageFormatData *imf,
const bool save_as_render,
const char *view,
@@ -630,11 +630,11 @@ bool BKE_image_render_write_exr(ReportList *reports,
errno = 0;
- BLI_make_existing_file(filepath);
+ BLI_make_existing_file(filename);
int compress = (imf ? imf->exr_codec : 0);
bool success = IMB_exr_begin_write(
- exrhandle, filepath, rr->rectx, rr->recty, compress, rr->stamp_data);
+ exrhandle, filename, rr->rectx, rr->recty, compress, rr->stamp_data);
if (success) {
IMB_exr_write_channels(exrhandle);
}