cubicsuperpath crashes on some paths
Bug #1646595 reported by
Mitch Bradley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Inkscape 0.91. When using either the gcodetools extension or the J-Tech Photonics Laser Tool extension, you often get an "index out of range" exception from CubicSuperPath, specifically line 150 of share/extension
I think the problem occurs with paths that do not include an 'M' element. I made the problem go away by changing line 150 from:
csp[
to:
if last:
I don't know enough about paths and superpaths to be sure this is the best possible solution, but it certainly avoids the crash, and the resulting GCode from the cited extensions is correct.
tags: | added: extensions-plugins |
Changed in inkscape: | |
status: | Confirmed → Triaged |
Changed in inkscape: | |
status: | Triaged → In Progress |
To post a comment you must log in.
could you attach a sample svg file for testing purposes?