From 749253afa9264153194ae9ce4b3cd42b1363e557 Mon Sep 17 00:00:00 2001 From: Johnny Matthews Date: Sat, 24 Sep 2005 18:44:24 +0000 Subject: [PATCH] A fix for edgeslide non-prop mode sticking at 0%. --- source/blender/src/editmesh_tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index 0e11351c8df..bed7ee4db32 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -4475,7 +4475,7 @@ int EdgeSlide(short immediate, float imperc) GHash *vertgh; SlideVert *tempsv; float perc = 0, percp = 0,vertdist, projectMat[4][4], viewMat[4][4]; - float shiftlabda= 0.0f; + float shiftlabda= 0.0f,len = 0.0f; int i = 0,j, numsel, numadded=0, timesthrough = 0, vertsel=0, prop=1, cancel = 0,flip=0; int wasshift = 0; short event, draw=1; @@ -4787,7 +4787,7 @@ int EdgeSlide(short immediate, float imperc) while(draw){ /* For the % calculation */ short mval[2]; - float labda=0.0f, rc[2], len=0.0f; + float labda=0.0f, rc[2]; float v2[2], v3[2]; EditVert *centerVert, *upVert, *downVert;