diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-06-30 18:20:02 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-06-30 18:23:47 +0400 |
commit | 2e64b8354bc68c22a0051cbb65937098b537cd65 (patch) | |
tree | 74bf5f697e4ff3d3492ef1aa9fa2f48c95f5ba51 /source/blender/makesrna | |
parent | 03929ae202c355b60f158ec191133a44fd9b1c09 (diff) |
Fix T40885: "Reset Curve" is backwards on Custom Falloff Curves (Lights).
Add ability to define negative slope by default to curvemapping template...
Diffstat (limited to 'source/blender/makesrna')
-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 3cdff730b00..d3d17a90f99 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -700,6 +700,7 @@ void RNA_api_ui_layout(StructRNA *srna) RNA_def_enum(func, "type", curve_type_items, 0, "Type", "Type of curves to display"); RNA_def_boolean(func, "levels", false, "", "Show black/white levels"); RNA_def_boolean(func, "brush", false, "", "Show brush options"); + RNA_def_boolean(func, "use_negative_slope", false, "", "Use a negative slope by default"); func = RNA_def_function(srna, "template_color_ramp", "uiTemplateColorRamp"); RNA_def_function_ui_description(func, "Item. A color ramp widget"); |