summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-10-23 18:36:20 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-10-23 18:36:20 +0000
commit159171207fecd68a2a6c0a57ed35911acce61b5b (patch)
tree75b83c8ccc4329dcea453ed35b3f434ae200487c /src/shape-editor.cpp
parentFix for libxml2 dll name incompatibility. (diff)
downloadinkscape-159171207fecd68a2a6c0a57ed35911acce61b5b.tar.gz
inkscape-159171207fecd68a2a6c0a57ed35911acce61b5b.zip
Revert undo LPE paths fix; crashed on linux :(
(bzr r3946)
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();