diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-09-18 00:43:00 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-09-18 00:43:00 +0300 |
commit | d3bba94bf243c82b0c94b176f0541511e29bbcf3 (patch) | |
tree | 75b2e53629b732aafad63104209650ebb912e45d /source/blender/makesrna/intern/rna_brush.c | |
parent | 04c3690299c51b79412fe395c2507a28fbae7b56 (diff) |
Commit current working copy; having
weird file system issues
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 165f22bca7b..e3454af8f2e 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -3615,6 +3615,12 @@ static void rna_def_brush(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Gradient", ""); RNA_def_property_update(prop, 0, "rna_Brush_update"); + prop = RNA_def_property(srna, "channels", PROP_POINTER, 0); + RNA_def_property_pointer_sdna(prop, NULL, "channels"); + RNA_def_property_struct_type(prop, "BrushChannelSet"); + RNA_def_property_ui_text(prop, "Channels", ""); + RNA_def_property_update(prop, 0, "rna_Brush_update"); + /* gradient source */ prop = RNA_def_property(srna, "gradient_stroke_mode", PROP_ENUM, PROP_NONE); RNA_def_property_enum_items(prop, brush_gradient_items); |