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

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);
}
}