mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Use correct value for tolerance in non-fatline code again.
This commit is contained in:
parent
a59a42376a
commit
d984a2cd87
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue