diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/gpencil/annotate_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c index 345a623a234..1ef7e3883da 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -803,6 +803,8 @@ static void gp_draw_data_layers( float ink[4]; for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { + /* verify never thickness is less than 1 */ + CLAMP_MIN(gpl->thickness, 1.0f); short lthick = gpl->thickness; /* apply layer opacity */ |