From ca8838b4182925abece24b411e2ba97a462a46d2 Mon Sep 17 00:00:00 2001 From: Christian Rohlfs Date: Mon, 12 Dec 2022 05:18:01 +0000 Subject: [PATCH] Remove nodetype attribute after Simplify operation --- src/path/path-simplify.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/path/path-simplify.cpp b/src/path/path-simplify.cpp index dece701c7e..2625866061 100644 --- a/src/path/path-simplify.cpp +++ b/src/path/path-simplify.cpp @@ -105,6 +105,9 @@ path_simplify(SPItem *item, float threshold, bool justCoalesce, double size) // reapply the transform item->doWriteTransform(transform); + // remove irrelevant old nodetypes attibute + item->removeAttribute("sodipodi:nodetypes"); + // clean up if (orig) delete orig; -- GitLab