diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-01 05:54:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-01 05:54:10 +0300 |
commit | f801b2bcba276a26a68accb9167798c4facb9275 (patch) | |
tree | 64ea3576e772dff74146d58933a2beacdb95968d /release | |
parent | ad0dd98f26bc681c92a0a1893c17a3bc484a0cb5 (diff) |
bugfix [#23406] DPX Images load darker then saved, UI broken.
- a linear float buffer was being created and saved into a non-linear DPX/Cineon file.
- removed the UI since the settings are not used at the moment.
added a utility function IMB_float_profile_ensure(), which returns a float buffer in the requested profile, using the existing if needed or returning an allocated buffer if the profile is different to that of the ImBuf. - Useful this case where the save function has its own linear setting.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_render.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/ui/properties_render.py b/release/scripts/ui/properties_render.py index c6b1e8816e0..00efb79a798 100644 --- a/release/scripts/ui/properties_render.py +++ b/release/scripts/ui/properties_render.py @@ -336,7 +336,10 @@ class RENDER_PT_output(RenderButtonsPanel, bpy.types.Panel): col.prop(rd, "jpeg2k_ycc") elif file_format in ('CINEON', 'DPX'): + split = layout.split() + split.label("FIXME: hard coded Non-Linear, Gamma:1.0") + ''' col = split.column() col.prop(rd, "use_cineon_log", text="Convert to Log") @@ -345,6 +348,7 @@ class RENDER_PT_output(RenderButtonsPanel, bpy.types.Panel): col.prop(rd, "cineon_black", text="Black") col.prop(rd, "cineon_white", text="White") col.prop(rd, "cineon_gamma", text="Gamma") + ''' elif file_format == 'TIFF': split = layout.split() |