summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2cceff)
raw | patch | inline | side by side (parent: c2cceff)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 23 Oct 2007 18:36:20 +0000 (18:36 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 23 Oct 2007 18:36:20 +0000 (18:36 +0000) |
src/shape-editor.cpp | patch | blob | history |
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 00e7c61b1dc223a13db66fb02ecab01cc4fafddf..ed946d95f32cd92c4827616e5f526cc66cff3493 100644 (file)
--- 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();