diff options
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c index 4d50468aaf4..cffa4b0ad83 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c @@ -95,7 +95,7 @@ static void deformStroke( const int def_nr = defgroup_name_index(ob, mmd->vgname); if (!is_stroke_affected_by_modifier(ob, - mmd->layername, mmd->pass_index, 3, gpl, gps, + mmd->layername, mmd->pass_index, 1, gpl, gps, mmd->flag & GP_THICK_INVERT_LAYER, mmd->flag & GP_THICK_INVERT_PASS)) { return; @@ -127,7 +127,7 @@ static void deformStroke( } pt->pressure += mmd->thickness * weight * curvef; - CLAMP(pt->strength, 0.0f, 1.0f); + CLAMP_MIN(pt->pressure, 0.1f); } } } |