Use correct value for tolerance in non-fatline code again.

This commit is contained in:
Jürg Lehni 2013-12-16 21:41:46 +01:00
parent a59a42376a
commit d984a2cd87

View file

@ -1246,7 +1246,8 @@ new function() { // Scope for methods that require numerical integration
/*#*/ } else { // !__options.fatline
// Subdivision method
var bounds1 = Curve.getBounds(v1),
bounds2 = Curve.getBounds(v2);
bounds2 = Curve.getBounds(v2),
tolerance = /*#=*/ Numerical.TOLERANCE;
if (bounds1.touches(bounds2)) {
// See if both curves are flat enough to be treated as lines, either
// because they have no control points at all, or are "flat enough"