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:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-14 04:11:34 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-14 04:11:34 +0400
commitf19899b474f19bf5cbf982fc3827b6468a2bf2aa (patch)
tree854f07dfa32d11f5d7062adc86af6bf11d75fa6d /source/blender/makesrna/intern/rna_ui_api.c
parent33f51abe4ef82cd8d38fae7408eb6e50d77e4fbc (diff)
Disable color picker template cubic parameter by default.
This is mostly useful for precision in lift/gamma/gain nodes. Display of those values is done with linear interpolation while saturation is interpolated cubically. This will lead to color inconsistency between selected and displayed color on color pickers for instance, which should be avoided on those use cases.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index adabc1dd761..7f9b5eb8850 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -733,7 +733,7 @@ void RNA_api_ui_layout(StructRNA *srna)
RNA_def_boolean(func, "value_slider", false, "", "Display the value slider to the right of the color wheel");
RNA_def_boolean(func, "lock", false, "", "Lock the color wheel display to value 1.0 regardless of actual color");
RNA_def_boolean(func, "lock_luminosity", false, "", "Keep the color at its original vector length");
- RNA_def_boolean(func, "cubic", true, "", "Cubic saturation for picking values close to white");
+ RNA_def_boolean(func, "cubic", false, "", "Cubic saturation for picking values close to white");
func = RNA_def_function(srna, "template_image_layers", "uiTemplateImageLayers");
RNA_def_function_flag(func, FUNC_USE_CONTEXT);