Finally fixing the highlight code

This commit is contained in:
jriegel
2012-04-01 15:02:40 +02:00
committed by Stefan Tröger
parent bd1d5525ca
commit d9b6c03304
5 changed files with 39 additions and 37 deletions

View File

@@ -236,6 +236,7 @@ int DrawSketchHandler::seekAutoConstraint(std::vector<AutoConstraint> &suggested
int tangId = Constraint::GeoUndef;
float smlTangDist = 1e15f;
// Do not consider if distance is more than that.
// Decrease this value when a candidate is found.
double tangDeviation = 0.1 * sketchgui->getScaleFactor();