summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-14 12:19:17 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-14 12:19:17 +0000
commit6c5501612d54559bd8497e78d4f7bd8601432323 (patch)
treed335832ff25926a0549af362f589530b4c09541e /src/splivarot.cpp
parentupdate to trunk (diff)
parentPartial fix for bug 1430873. Rectangles should behave properly with % values. (diff)
downloadinkscape-6c5501612d54559bd8497e78d4f7bd8601432323.tar.gz
inkscape-6c5501612d54559bd8497e78d4f7bd8601432323.zip
update to trunk
(bzr r13645.1.41)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}