[Bf-blender-cvs] [9a5fb0209e6] master: Fix T55949: increase color management exposure hard range.

Brecht Van Lommel noreply at git.blender.org
Thu Jul 12 12:03:46 CEST 2018


Commit: 9a5fb0209e6e94112be4d390316933ab84e8e2df
Author: Brecht Van Lommel
Date:   Thu Jul 12 11:46:32 2018 +0200
Branches: master
https://developer.blender.org/rB9a5fb0209e6e94112be4d390316933ab84e8e2df

Fix T55949: increase color management exposure hard range.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c
index 080916bfbf8..aa1164068d8 100644
--- a/source/blender/makesrna/intern/rna_color.c
+++ b/source/blender/makesrna/intern/rna_color.c
@@ -1128,8 +1128,9 @@ static void rna_def_colormanage(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "exposure", PROP_FLOAT, PROP_FACTOR);
 	RNA_def_property_float_sdna(prop, NULL, "exposure");
-	RNA_def_property_range(prop, -10.0f, 10.0f);
 	RNA_def_property_float_default(prop, 0.0f);
+	RNA_def_property_range(prop, -32.0f, 32.0f);
+	RNA_def_property_ui_range(prop, -10.0f, 10.0f, 1, 3);
 	RNA_def_property_ui_text(prop, "Exposure", "Exposure (stops) applied before display transform");
 	RNA_def_property_update(prop, NC_WINDOW, "rna_ColorManagement_update");



More information about the Bf-blender-cvs mailing list