mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Add comment regarding issue #565
This commit is contained in:
parent
b75def3f3a
commit
e3e3d13fa5
1 changed files with 5 additions and 0 deletions
|
@ -1056,6 +1056,11 @@ new function() { // Scope for methods that require numerical integration
|
|||
tMin, tMax, uMin, uMax, oldTDiff, reverse, recursion) {
|
||||
/*#*/ if (__options.fatlineClipping) {
|
||||
// Avoid deeper recursion.
|
||||
// NOTE: @iconexperience determined that more than 20 recursions are
|
||||
// needed sometimes, depending on the tDiff threshold values further
|
||||
// below when determining which curve converges the least. He also
|
||||
// recommended a threshold of 0.5 instead of the initial 0.8
|
||||
// See: https://github.com/paperjs/paper.js/issues/565
|
||||
if (recursion > 32)
|
||||
return;
|
||||
// Let P be the first curve and Q be the second
|
||||
|
|
Loading…
Reference in a new issue