summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d10ce8)
raw | patch | inline | side by side (parent: 1d10ce8)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 28 Mar 2006 01:58:29 +0000 (01:58 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 28 Mar 2006 01:58:29 +0000 (01:58 +0000) |
src/selection-chemistry.cpp | patch | blob | history |
index 811e0d6bdaaff0bfcb475d9baefda15deeafd544..4da9b33b86e15680b3588c2cee35c1ab2826a41d 100644 (file)
sp_repr_set_attr(clone, "x", "0");
sp_repr_set_attr(clone, "y", "0");
sp_repr_set_attr(clone, "xlink:href", g_strdup_printf("#%s", sel_repr->attribute("id")));
+
+ sp_repr_set_attr(clone, "inkscape:transform-center-x", sel_repr->attribute("inkscape:transform-center-x"));
+ sp_repr_set_attr(clone, "inkscape:transform-center-y", sel_repr->attribute("inkscape:transform-center-y"));
// add the new clone to the top of the original's parent
parent->appendChild(clone);