diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-08-12 13:35:52 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-08-12 23:47:47 +0300 |
commit | 504c257daed50bfc28d565de5590ba0929700fc8 (patch) | |
tree | ff2c1ce84fde6636b12316b1a3fe08af434645d9 /source/blender/blenkernel/BKE_gpencil_curve.h | |
parent | 9abdafe840e5eaa29153565bd7c121f02e1d1fb1 (diff) |
GPencil: Add Sample parameter to Convert curve
This allows to resample the stroke to avoid too dense geometry.
Diffstat (limited to 'source/blender/blenkernel/BKE_gpencil_curve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_gpencil_curve.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_gpencil_curve.h b/source/blender/blenkernel/BKE_gpencil_curve.h index 952f5115707..213ebf7832c 100644 --- a/source/blender/blenkernel/BKE_gpencil_curve.h +++ b/source/blender/blenkernel/BKE_gpencil_curve.h @@ -38,7 +38,8 @@ void BKE_gpencil_convert_curve(struct Main *bmain, const bool gpencil_lines, const bool use_collections, const bool only_stroke, - const float scale_thickness); + const float scale_thickness, + const float sample); #ifdef __cplusplus } |