diff options
author | Jacques Lucke <jacques@blender.org> | 2021-08-06 11:20:24 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-08-06 11:20:24 +0300 |
commit | d98791a106ffd1546ec476f3f38caeedd6f99047 (patch) | |
tree | e3b839f52d6e79248a53044149859cbb7028c422 /source/blender/draw/intern | |
parent | 6188c29603da211b8305d8fe7c082dcae61688ab (diff) |
Cleanup: clang tidy
`bugprone-signed-char-misuse`
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_gpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_gpencil.c b/source/blender/draw/intern/draw_cache_impl_gpencil.c index 2a476ab41bb..6ed4148a7fe 100644 --- a/source/blender/draw/intern/draw_cache_impl_gpencil.c +++ b/source/blender/draw/intern/draw_cache_impl_gpencil.c @@ -553,7 +553,7 @@ bGPDstroke *DRW_cache_gpencil_sbuffer_stroke_data_get(Object *ob) gps->runtime.stroke_start = 1; /* Add one for the adjacency index. */ copy_v4_v4(gps->vert_color_fill, gpd->runtime.vert_color_fill); /* Caps. */ - gps->caps[0] = gps->caps[1] = brush->gpencil_settings->caps_type; + gps->caps[0] = gps->caps[1] = (short)brush->gpencil_settings->caps_type; gpd->runtime.sbuffer_gps = gps; } |