diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-20 06:14:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-20 06:14:44 +0300 |
commit | c45b8a65b4311babc92fd3d794db0ec9248fb316 (patch) | |
tree | a59c095aa17a409cd06158a9cc186848e012b896 /source/blender/editors/gpencil/drawgpencil.c | |
parent | aa7e76b2e35c6ff6c58ccd4373b68dde8283a3a3 (diff) | |
parent | 959a58da9e4d23be2738b6979ec208f05468f50c (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 659c0c99fcb..1b6261a6bef 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -461,7 +461,7 @@ static void gp_triangulate_stroke_fill(bGPDstroke *gps) /* convert to 2d and triangulate */ gp_stroke_2d_flat(gps->points, gps->totpoints, points2d, &direction); - BLI_polyfill_calc((const float(*)[2])points2d, (unsigned int)gps->totpoints, direction, (unsigned int(*)[3])tmp_triangles); + BLI_polyfill_calc(points2d, (unsigned int)gps->totpoints, direction, tmp_triangles); /* Number of triangles */ gps->tot_triangles = gps->totpoints - 2; |