Fix T76598: GPencil - Set a lower limit for Thickness modifier

The old value was too high. Now, the limit of pressure is 0, but anyway, the stroke will be always visible because there is a minimum thickness of 1 pixel.
This commit is contained in:
Antonio Vazquez 2020-05-11 13:55:21 +02:00
parent 668867558e
commit 3d3a75fc2a
Notes: blender-bot 2023-02-14 11:00:17 +01:00
Referenced by issue #76598, Grease pencil thickness have hard minimum  for thickness.
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ static void deformStroke(GpencilModifierData *md,
pt->pressure = interpf(target, pt->pressure, weight);
CLAMP_MIN(pt->pressure, 0.1f);
CLAMP_MIN(pt->pressure, 0.0f);
}
}