summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index b66bcf368..7840c4ca8 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -255,8 +255,9 @@ ObjectSet::breakApart(bool skip_undo)
repr->setAttribute("inkscape:original-d", str);
else
repr->setAttribute("d", str);
+ str = sp_svg_transform_write(transform);
+ repr->setAttribute("transform", str);
g_free(str);
- repr->setAttribute("transform", sp_svg_transform_write(transform));
// add the new repr to the parent
parent->appendChild(repr);