diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-27 07:32:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-27 07:32:13 +0400 |
commit | f3850ca13b2b8a970abaab05aab2b4e217420231 (patch) | |
tree | c7afbab89cd36a477cb788da0a198ed2877868d3 /source/blender/bmesh/operators/bmo_primitive.c | |
parent | 4e99ff0481025d35434f484b8e4a99070a79d165 (diff) |
fix for adding triangle-fan filled circle not tagging the center vertex.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_primitive.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_primitive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_primitive.c b/source/blender/bmesh/operators/bmo_primitive.c index 70173d942a1..58102c1c8be 100644 --- a/source/blender/bmesh/operators/bmo_primitive.c +++ b/source/blender/bmesh/operators/bmo_primitive.c @@ -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) { |