From 29f90af19cb5e8284f95d25e3f9c9519c588c742 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 4 Jan 2010 17:28:37 +0000 Subject: Fix: curve reset for brushes now gives proper smooth curve as default, also moved brush curve presets code into curvemapping code. --- source/blender/makesrna/intern/rna_ui_api.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_ui_api.c') diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index 37917bb7435..de20da0c0ca 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -320,6 +320,7 @@ void RNA_api_ui_layout(StructRNA *srna) api_ui_item_rna_common(func); RNA_def_enum(func, "type", curve_type_items, 0, "Type", "Type of curves to display."); RNA_def_boolean(func, "levels", 0, "", "Show black/white levels."); + RNA_def_boolean(func, "brush", 0, "", "Show brush options."); func= RNA_def_function(srna, "template_color_ramp", "uiTemplateColorRamp"); api_ui_item_rna_common(func); -- cgit v1.2.3