From: buliabyak Date: Tue, 28 Mar 2006 04:19:47 +0000 (+0000) Subject: copy rotation center when converting to path X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5565efcad3429eb16a0426d58a928287727c7be8;p=inkscape.git copy rotation center when converting to path --- diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 70a30c185..663cd6da4 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -321,6 +321,9 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy) SP_OBJECT_STYLE(SP_OBJECT_PARENT(item))); repr->setAttribute("style", style_str); g_free(style_str); + /* Rotation center */ + sp_repr_set_attr(repr, "inkscape:transform-center-x", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-x")); + sp_repr_set_attr(repr, "inkscape:transform-center-y", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-y")); /* Definition */ gchar *def_str = sp_svg_write_path(curve->bpath);