Fix SHIFT finetuning for edgeslide (aftermath from a warning cleanup ;-)

This commit is contained in:
Alexander Ewering 2005-09-30 10:58:39 +00:00
parent 61e9d7c2d4
commit 2f22ea5900

@ -4481,6 +4481,7 @@ int EdgeSlide(short immediate, float imperc)
short event, draw=1;
short mval[2], mvalo[2];
char str[128];
float labda = 0.0f;
view3d_get_object_project_mat(curarea, G.obedit, projectMat, viewMat);
@ -4787,10 +4788,12 @@ int EdgeSlide(short immediate, float imperc)
while(draw){
/* For the % calculation */
short mval[2];
float labda=0.0f, rc[2];
float rc[2];
float v2[2], v3[2];
EditVert *centerVert, *upVert, *downVert;
len = 0.0f;
getmouseco_areawin(mval);
if (!immediate && (mval[0] == mvalo[0] && mval[1] == mvalo[1])) {