code cleanup
This commit is contained in:
parent
3de8056f95
commit
fed22dbf58
8 changed files with 26 additions and 69 deletions
|
@ -296,6 +296,7 @@ function fairify(scurve, gizmo, denseQ, cleanMore) {
|
|||
}
|
||||
}
|
||||
};
|
||||
// Rebuild curve
|
||||
for (var j = 0; j < splitpoints.length; j++) if (splitpoints[j].onCurve && !splitpoints[j].remove && splitpoints[j + 1] && !splitpoints[j + 1].onCurve) {
|
||||
for (var k = j + 2; k < splitpoints.length && splitpoints[k].remove; k++);
|
||||
if (k - j > 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue