From 2f22ea5900eed0e73ed042905f33e0f1578fd32f Mon Sep 17 00:00:00 2001 From: Alexander Ewering Date: Fri, 30 Sep 2005 10:58:39 +0000 Subject: [PATCH] Fix SHIFT finetuning for edgeslide (aftermath from a warning cleanup ;-) --- source/blender/src/editmesh_tools.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index 9e1529351bf..da358ba1e2b 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -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,9 +4788,11 @@ 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);