From 906b9f55afbf132218a3dc815da2652fbc502352 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 12 May 2022 22:46:15 +0200 Subject: Cleanup: remove redundant float to byte conversion for stereo image saving For non-stereo cases this is automatically handled by IMB_saveiff, no reason for stereo to do this separately. Ref D14899 --- source/blender/compositor/operations/COM_OutputFileMultiViewOperation.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/compositor') diff --git a/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.cc b/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.cc index aeaf6b659e3..341541b4cdd 100644 --- a/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.cc +++ b/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.cc @@ -325,7 +325,6 @@ void OutputStereoOperation::deinit_execution() /* do colormanagement in the individual views, so it doesn't need to do in the stereo */ IMB_colormanagement_imbuf_for_write(ibuf[i], true, false, &format_); - IMB_prepare_write_ImBuf(IMB_isfloat(ibuf[i]), ibuf[i]); } /* create stereo buffer */ -- cgit v1.2.3