From f949270b90a7c2c806e5c06ee4e399ad2eb47654 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 28 Mar 2006 01:58:29 +0000 Subject: [PATCH] copy rotation center when cloning --- src/selection-chemistry.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 811e0d6bd..4da9b33b8 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -1896,6 +1896,9 @@ sp_selection_clone() 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); -- 2.30.2