diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-09-16 14:10:12 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-09-17 13:30:13 +0300 |
commit | bdbf24772a0dd5edd65eb861e9347a44205c164b (patch) | |
tree | 5e016efbe3312e2c78df7472b6f172d0d18698c3 /source/blender/blenkernel/intern/brush.cc | |
parent | 742268c50bd4836e2181f74daca2811364ae20ac (diff) |
GPencil: Remove Leak Size
This value was used to close gaps, but now with the new system is not needed.
Internally, still we need to keep a small leak size, but after doing a lot of test a
value of 3 is perfect, so it's harcoded.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.cc')
-rw-r--r-- | source/blender/blenkernel/intern/brush.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.cc b/source/blender/blenkernel/intern/brush.cc index c206a04fecc..a998fc0a75f 100644 --- a/source/blender/blenkernel/intern/brush.cc +++ b/source/blender/blenkernel/intern/brush.cc @@ -982,7 +982,6 @@ void BKE_gpencil_brush_preset_set(Main *bmain, Brush *brush, const short type) case GP_BRUSH_PRESET_FILL_AREA: { brush->size = 5.0f; - brush->gpencil_settings->fill_leak = 3; brush->gpencil_settings->fill_threshold = 0.1f; brush->gpencil_settings->fill_simplylvl = 1; brush->gpencil_settings->fill_factor = 1.0f; |