diff options
Diffstat (limited to 'source/blender/gpencil_modifiers')
4 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c index 2bab728f5d8..22ba035be8a 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c @@ -103,7 +103,6 @@ static void generate_strokes_actual( lmd->transparency_mask, lmd->thickness, lmd->opacity, - lmd->resample_length, lmd->source_vertex_group, lmd->vgname, lmd->flags); @@ -381,8 +380,6 @@ static void chaining_panel_draw(const bContext *UNUSED(C), Panel *panel) uiItemR(layout, ptr, "chaining_image_threshold", 0, NULL, ICON_NONE); - uiItemR(layout, ptr, "resample_length", UI_ITEM_R_SLIDER, NULL, ICON_NONE); - uiItemR(layout, ptr, "split_angle", UI_ITEM_R_SLIDER, NULL, ICON_NONE); } 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); |