summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4d4c825)
raw | patch | inline | side by side (parent: 4d4c825)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Wed, 17 Oct 2007 18:51:28 +0000 (18:51 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Wed, 17 Oct 2007 18:51:28 +0000 (18:51 +0000) |
src/shape-editor.cpp | patch | blob | history |
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index f029aab0a63b1d6acc21f975ed69ba5218c2841d..d0dbb8937ba17b03aa40d9b53e6f9280f2606dd6 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -144,9 +144,12 @@ static void shapeeditor_event_attr_changed(Inkscape::XML::Node *repr, gchar cons
item = sh->get_item();
- 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()) {
+ if ( ( (sh->has_nodepath())
+ && ( !strcmp(name, "d") // With paths, we only need to act if one of the path-affecting attributes has changed.
+ || !strcmp(name, "sodipodi:nodetypes")
+ || !strcmp(name, "inkscape:original-d") ) )
+ || sh->has_knotholder() )
+ {
changed = !sh->has_local_change();
sh->decrement_local_change();
}