Flatten Beziers: raise lower limit for flatness factor to prevent endless loop in python script
Bug #1496804 reported by
su_v
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
su_v |
Bug Description
Steps to reproduce:
1) launch inkscape
2) draw a curve
3) open 'Extensions > Modify Path > Flatten Beziers'
4) set flatness to 0.0
5) apply
--> the python process is endlessly processing the path with 100% CPU, and never returns control to the main Inkscape process.
Proposed solution:
Raise lower limit in the INX file from '0.0' to '0.1' for the flatness factor.
Additional proposed change:
Move setting the final path data outside the inner loop (AFAICT there's no need to reformat and write 'd' for each step).
Related branches
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for investigating and fixing! :D