diff options
author | Jacques Lucke <jacques@blender.org> | 2022-05-05 13:11:50 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-05-05 13:11:50 +0300 |
commit | dbba5c4df973a0120ed9ed115cd9044b2f1d24a5 (patch) | |
tree | a3ad2b032626204fd903577017d5a38894947b42 /source/blender/makesdna | |
parent | b4fa74e812939fdfbcb430013b63020257cdac27 (diff) |
Curves: control number of control points in new curves
Previously, the number of control points in a new curve was hardcoded.
Differential Revision: https://developer.blender.org/D14857
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 7d230b7d7a3..24e77ecf87f 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -140,6 +140,8 @@ typedef struct BrushGpencilSettings { typedef struct BrushCurvesSculptSettings { /** Number of curves added by the add brush. */ int add_amount; + /** Number of control points in new curves added by the add brush. */ + int points_per_curve; /* eBrushCurvesSculptFlag. */ uint32_t flag; /** When shrinking curves, they shouldn't become shorter than this length. */ |