fix own mistake updating edge slide, even edge-slide was broken
authorCampbell Barton <ideasman42@gmail.com>
Mon, 22 Apr 2013 16:07:50 +0000 (16:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 22 Apr 2013 16:07:50 +0000 (16:07 +0000)
source/blender/editors/transform/transform.c

index c967c34a0a804d68e83d53ba1b9a80623b678cd0..19b55f760beacc1f8f623c0c4634aa051c98404b 100644 (file)
@@ -6004,7 +6004,7 @@ static int doEdgeSlide(TransInfo *t, float perc)
                        if (sv->edge_len > FLT_EPSILON) {
                                const float fac = min_ff(sv->edge_len, curr_length_perc) / sv->edge_len;
 
-                               add_v3_v3v3(co_a, sv->dir_b, sv->dir_a);
+                               add_v3_v3v3(co_a, sv->v_co_orig, sv->dir_a);
                                add_v3_v3v3(co_b, sv->v_co_orig, sv->dir_b);
 
                                if (sld->flipped_vtx) {