~inkscape.dev/inkscape/trunk

Viewing all changes in revision 14309.

  • Committer: Marc Jeanmougin
  • Date: 2015-08-18 22:56:36 UTC
  • Revision ID: marcjeanmougin@free.fr-20150818225636-n6hw53p2uqkm5j9n
Allows for copying clones between inkscape instances.
This patch puts the original of clones as children of _clipnode (<inkscape:clipboard>).
Then, on paste, it checks for the presence of an element with the right id (so that it does not breaks copypaste clones in the same doc),
then pastes all, and deletes the original if needed (which automagically unlinks the clone if needed).
[an alternate solution is to put the original in the defs (which might cause edition problems) and not unlink. 
Depending on whether people would be more interested in this behavior there could be a preference item to choose]

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: