GP: Fix wrong fill after subdivide

This commit is contained in:
Antonioya
2018-11-13 16:53:09 +01:00
parent 9caa587519
commit c2dc5dfa0d

View File

@@ -3124,6 +3124,10 @@ static int gp_stroke_subdivide_exec(bContext *C, wmOperator *op)
MEM_SAFE_FREE(temp_points);
MEM_SAFE_FREE(temp_dverts);
}
/* triangles cache needs to be recalculated */
gps->flag |= GP_STROKE_RECALC_CACHES;
gps->tot_triangles = 0;
}
}
GP_EDITABLE_STROKES_END(gpstroke_iter);