summaryrefslogtreecommitdiff
path: root/common/curve.cpp
diff options
context:
space:
mode:
authorleo2005-12-26 00:42:26 +0000
committerleo2005-12-26 00:42:26 +0000
commitd22e891904eb8d5f32cb08efca4366c3e16d4970 (patch)
tree04691a14f2cbce8a9b5f17ccd98ade154a7a7ed6 /common/curve.cpp
parentb87afd4fe89cef28e5d1e0527aeec74a4d93e4aa (diff)
Changed piece selection to local space.
git-svn-id: http://svn.leocad.org/trunk@447 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/curve.cpp')
-rwxr-xr-xcommon/curve.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{