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:
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.
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue