13 Aug
2013
13 Aug
'13
9:48 a.m.
On Sat, 2013-08-10 at 00:10 +0200, jaseg wrote:
And finally, though I can save SPPoints and SPConnectors just fine to SVG, I can't load them yet.
I see one possible problem with the loading code. When inkscape:connector-end or inkscape:connector-start are read in, the subroutine SPConnector::setEnd(int idx, SPPoint *end) is called. This calls SPConnector::redraw() which causes the path to be updated. Updating the path while still in the process of reading it in is probably not a good idea. If I comment out the redraw(), the path is read in correctly (but the points are not displayed).
Tav