Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-10-20 06:03:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-20 06:03:22 +0300
commit959a58da9e4d23be2738b6979ec208f05468f50c (patch)
treeafebcc5b122e04adf8ee0ba1d5e84fadfa1ef665 /source/blender/editors/gpencil
parentcb957fd8e0e2e0d0dbbebc3e7e3fcc5bfa8b51a8 (diff)
Cleanup: redundant casts
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/drawgpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index bba7137c3ee..100e2dc8295 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -426,7 +426,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;