From 067a933efebfec37e8543f5d089593cdf4e9aec2 Mon Sep 17 00:00:00 2001 From: Raphael Rosch Date: Sat, 14 Mar 2015 01:17:12 -0400 Subject: dynamic, linked offsets applied to clone original Fixed bugs: - https://launchpad.net/bugs/1377689 (bzr r13999) --- src/splivarot.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/splivarot.cpp') diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 8bb3e9897..46279cbce 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -1727,7 +1727,9 @@ void sp_selected_path_create_offset_object(SPDesktop *desktop, int expand, bool if ( !updating ) { // delete original, apply the transform to the offset + const char *n_id = item->getRepr()->attribute("id"); item->deleteObject(false); + repr->setAttribute("id", n_id); nitem->doWriteTransform(repr, transform); } -- cgit v1.2.3