[Bf-blender-cvs] [b1bd0f8ffda] master: Enable OpenEXR DWAB compresstion

Sergey Sharybin noreply at git.blender.org
Wed Jan 5 14:07:30 CET 2022


Commit: b1bd0f8ffdaf5e5df3038ae688a7b4eb8d10ba6d
Author: Sergey Sharybin
Date:   Mon Jan 3 16:07:40 2022 +0100
Branches: master
https://developer.blender.org/rBb1bd0f8ffdaf5e5df3038ae688a7b4eb8d10ba6d

Enable OpenEXR DWAB compresstion

The DWAB compression was disabled in the d59721c2c311 due to
a bug in the OpenEXR library which is now resolved.

Re-enable the DWAB compression for OpenEXR output. It is a
simple change, and DWAB often behaves better than DWAA.

Differential Revision: https://developer.blender.org/D13713

===================================================================

M	source/blender/makesrna/intern/rna_scene.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index d7d13f151d9..c6c7341bcc6 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -86,8 +86,7 @@ const EnumPropertyItem rna_enum_exr_codec_items[] = {
     {R_IMF_EXR_CODEC_B44, "B44", 0, "B44 (lossy)", ""},
     {R_IMF_EXR_CODEC_B44A, "B44A", 0, "B44A (lossy)", ""},
     {R_IMF_EXR_CODEC_DWAA, "DWAA", 0, "DWAA (lossy)", ""},
-    /* NOTE: Commented out for until new OpenEXR is released, see T50673. */
-    /* {R_IMF_EXR_CODEC_DWAB, "DWAB", 0, "DWAB (lossy)", ""}, */
+    {R_IMF_EXR_CODEC_DWAB, "DWAB", 0, "DWAB (lossy)", ""},
     {0, NULL, 0, NULL, NULL},
 };
 #endif



More information about the Bf-blender-cvs mailing list