diff options
author | Jacques Lucke <jacques@blender.org> | 2022-03-02 19:15:44 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-03-02 19:15:44 +0300 |
commit | ac45540a348ec8662e4e27002c64176c402fe549 (patch) | |
tree | 505778f4634aadd248f1c499fad72f28394b0780 /source/blender/makesrna/intern/rna_brush.c | |
parent | 037e1ad140d5c0b57d54f64e32a00f7961b7cc17 (diff) |
Curves: add brush to add curves on surface
This adds a prototype for the first brush that can add new curves by
painting on a surface. Note that this can only be used when the curves
object has a surface object set in the properties panel.
The brush can take minimum distance into account. This allows
distributing curves with a somewhat consistent density.
Differential Revision: https://developer.blender.org/D14207
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 667114a3598..4ffb3ffbe53 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -246,6 +246,7 @@ const EnumPropertyItem rna_enum_brush_gpencil_weight_types_items[] = { const EnumPropertyItem rna_enum_brush_curves_sculpt_tool_items[] = { {CURVES_SCULPT_TOOL_TEST1, "TEST1", ICON_NONE, "Test 1", ""}, {CURVES_SCULPT_TOOL_TEST2, "TEST2", ICON_NONE, "Test 2", ""}, + {CURVES_SCULPT_TOOL_TEST3, "TEST3", ICON_NONE, "Test 3", ""}, {0, NULL, 0, NULL, NULL}, }; |