Code

Fix undo stack spam in single-path mode of the spray tool
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Sat, 13 Mar 2010 02:47:08 +0000 (03:47 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Sat, 13 Mar 2010 02:47:08 +0000 (03:47 +0100)
src/spray-context.cpp

index 051518e1fdd8aa2aa2e2bcb0ecb9b4846af9c621..2bdac197f75e749d18a7ab9541e4940deccb9f16 100644 (file)
@@ -562,7 +562,7 @@ bool sp_spray_recursive(SPDesktop *desktop,
                 selection->clear();
                 selection->add(item_copied);
                 selection->add(unionResult);
-                sp_selected_path_union(selection->desktop());
+                sp_selected_path_union_skip_undo(selection->desktop());
                 selection->add(father);
                 Inkscape::GC::release(copy2);
                 did = true;