diff options
author | YimingWu <xp8110@outlook.com> | 2021-03-23 17:15:44 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2021-04-01 13:36:23 +0300 |
commit | e1b2cf887fdbf2897c59dd7d20ea1074f962d3ee (patch) | |
tree | 853b0f2e5e08957e8a59bf6ecd7f4e1cb0735341 /source/blender/gpencil_modifiers/intern/lineart | |
parent | d5cefc1844cfd679b5d1f134386635f6165ae2e3 (diff) |
LineArt: Remove resampling settings.
This can be done with an other GP modifier already.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/lineart')
3 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h index 1239deb95bb..85cfd1fbcbf 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h +++ b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h @@ -560,7 +560,6 @@ void MOD_lineart_gpencil_generate(LineartRenderBuffer *rb, unsigned char transparency_mask, short thickness, float opacity, - float resample_length, const char *source_vgname, const char *vgname, int modifier_flags); diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c index 2389e0c403c..8bcf620a882 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c @@ -3768,7 +3768,6 @@ static void lineart_gpencil_generate(LineartRenderBuffer *rb, uchar transparency_mask, short thickness, float opacity, - float resample_length, const char *source_vgname, const char *vgname, int modifier_flags) @@ -3908,9 +3907,6 @@ static void lineart_gpencil_generate(LineartRenderBuffer *rb, } } - if (resample_length > 0.0001) { - BKE_gpencil_stroke_sample(gpencil_object->data, gps, resample_length, false); - } if (G.debug_value == 4000) { BKE_gpencil_stroke_set_random_color(gps); } @@ -3941,7 +3937,6 @@ void MOD_lineart_gpencil_generate(LineartRenderBuffer *rb, uchar transparency_mask, short thickness, float opacity, - float resample_length, const char *source_vgname, const char *vgname, int modifier_flags) @@ -3991,7 +3986,6 @@ void MOD_lineart_gpencil_generate(LineartRenderBuffer *rb, transparency_mask, thickness, opacity, - resample_length, source_vgname, vgname, modifier_flags); diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c index 3ec32ad501e..0c6b4ebf30c 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c @@ -131,7 +131,6 @@ static bool bake_strokes(Object *ob, Depsgraph *dg, GpencilModifierData *md, int lmd->transparency_mask, lmd->thickness, lmd->opacity, - lmd->resample_length, lmd->source_vertex_group, lmd->vgname, lmd->flags); |