fix for adding triangle-fan filled circle not tagging the center vertex.

This commit is contained in:
Campbell Barton
2012-09-27 03:32:13 +00:00
parent 4e99ff0481
commit f3850ca13b

View File

@@ -517,11 +517,11 @@ void bmo_create_circle_exec(BMesh *bm, BMOperator *op)
phi = 0;
if (cap_ends) {
vec[0] = vec[1] = 0.0f;
vec[2] = 0.0;
zero_v3(vec);
mul_m4_v3(mat, vec);
cent1 = BM_vert_create(bm, vec, NULL);
BMO_elem_flag_enable(bm, cent1, VERT_MARK);
}
for (a = 0; a < segs; a++, phi += phid) {