From d22e891904eb8d5f32cb08efca4366c3e16d4970 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 26 Dec 2005 00:42:26 +0000 Subject: Changed piece selection to local space. git-svn-id: http://svn.leocad.org/trunk@447 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/curve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/curve.cpp') diff --git a/common/curve.cpp b/common/curve.cpp index 18b5af8..243e43c 100755 --- a/common/curve.cpp +++ b/common/curve.cpp @@ -147,7 +147,7 @@ CurvePoint::~CurvePoint () void CurvePoint::MinIntersectDist (LC_CLICKLINE* pLine) { - double dist = BoundingBoxIntersectDist (pLine); + float dist = (float)BoundingBoxIntersectDist (pLine); if (dist < pLine->mindist) { -- cgit v1.2.3