summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 00e7c61b1..ed946d95f 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -142,7 +142,9 @@ static void shapeeditor_event_attr_changed(Inkscape::XML::Node *repr, gchar cons
g_assert(data);
ShapeEditor *sh = ((ShapeEditor *) data);
- if ( sh->has_nodepath() || sh->has_knotholder() )
+ if ( ((sh->has_nodepath())
+ && (!strcmp(name, "d") || !strcmp(name, "sodipodi:nodetypes"))) // With paths, we only need to act if one of the path-affecting attributes has changed.
+ || sh->has_knotholder())
{
changed = !sh->has_local_change();
sh->decrement_local_change();