From 86899e7a22a3143ff8ecf2f3a7d65104ac6fa0b8 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 23 May 2004 19:13:15 +0000 Subject: [PATCH] Changed two shorts in int, for calculation of distance between bezier point and mouse coordinate in selecting routine. Caused selection not to work in extreme zoom ins. (Thanks OOPz!) --- source/blender/src/editipo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 209c41246df..28af4098d76 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -1655,8 +1655,8 @@ short findnearest_ipovert(IpoCurve **icu, BezTriple **bezt) /* return 0 1 2: handlepunt */ EditIpo *ei; BezTriple *bezt1; - int a, b; - short dist= 100, temp, mval[2], hpoint=0; + int dist= 100, temp, a, b; + short mval[2], hpoint=0; *icu= 0; *bezt= 0;