diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-05 19:52:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-05 19:52:25 +0400 |
commit | deb7402299a2ddbbbb2f5f52b744caacb49e0d41 (patch) | |
tree | 651b696d60e0a34c7c5935f2971ee268559ea86b /source/blender/makesrna/intern/rna_ui_api.c | |
parent | aea7ea5b30cc5434f0b747ead8d2947d91a28964 (diff) |
option for color wheel widget to make it easier to select values closer to white, enable for color balance.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ui_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index 6cf0768b192..1c751433e31 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -361,6 +361,7 @@ void RNA_api_ui_layout(StructRNA *srna) RNA_def_boolean(func, "value_slider", 0, "", "Display the value slider to the right of the color wheel"); RNA_def_boolean(func, "lock", 0, "", "Lock the color wheel display to value 1.0 regardless of actual color"); RNA_def_boolean(func, "lock_luminosity", 0, "", "Keep the color at its original vector length"); + RNA_def_boolean(func, "cubic", 1, "", "Cubic saturation for picking values close to white"); func= RNA_def_function(srna, "template_triColorSet", "uiTemplateTriColorSet"); api_ui_item_rna_common(func); |