From: johanengelen Date: Tue, 23 Oct 2007 18:36:20 +0000 (+0000) Subject: Revert undo LPE paths fix; crashed on linux :( X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2f52a046260530971023f5d86d9ed28f796154a1;p=inkscape.git Revert undo LPE paths fix; crashed on linux :( --- 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();