Comment 25 for bug 170185

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

My patch does copy defs between documents. It uses the same code that was formerly in selection-chemistry.cpp, I just modified it to put the defs in a SPDocument instead of in some arbitrary variable. I took care to maintain functional equivalency with that code. Therefore, everything that worked inside Inkscape should work between instances now, unless there are bugs in my code.

Fixing LPEs to work perfectly with the clipboard will be my next focus. Actually, pasting LPEs works to some extent, because in XML editor the path has a forked effect applied, but it doesn't appear on the canvas and Inkscape crashes when trying to move it. Probably there is some unexpected interaction with the lpeparam copying-pasting code that I haven't modified yet, because I don't know the feature it provides.