diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-12 19:06:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-12 20:24:07 +0300 |
commit | 07562a4afb301cf61bdaf9ed4b2b0f37150da6dd (patch) | |
tree | 9da303d8eacbefa03e8c979aa265f816caae8f3c /source/blender | |
parent | 9e91313a97f54c801fa1bee6c4cd5d3d007909c5 (diff) |
Edge slide (minor change, use existing vertex)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/transform/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 28b0d9711cc..5b737506428 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -5957,7 +5957,7 @@ static bool createEdgeSlideVerts(TransInfo *t) get_next_loop(v, l_a, e_prev, l_tmp->e, sv->dir_side[0]); } else { - sub_v3_v3v3(sv->dir_side[0], BM_edge_other_vert(l_tmp->e, v)->co, v->co); + sub_v3_v3v3(sv->dir_side[0], sv->v_side[0]->co, v->co); } } @@ -5968,7 +5968,7 @@ static bool createEdgeSlideVerts(TransInfo *t) get_next_loop(v, l_b, e_prev, l_tmp->e, sv->dir_side[1]); } else { - sub_v3_v3v3(sv->dir_side[1], BM_edge_other_vert(l_tmp->e, v)->co, v->co); + sub_v3_v3v3(sv->dir_side[1], sv->v_side[1]->co, v->co); } } |