Code

allow union on a single object for the purpose of removing self overlaps
authoracspike <acspike@users.sourceforge.net>
Fri, 10 Nov 2006 03:35:56 +0000 (03:35 +0000)
committeracspike <acspike@users.sourceforge.net>
Fri, 10 Nov 2006 03:35:56 +0000 (03:35 +0000)
src/splivarot.cpp

index 9aec695755beea2c5f0652534cb30b378f0bbeaa..8c9f6e819da481a2a27407fe2e8e996acc4b4ce1 100644 (file)
@@ -106,7 +106,7 @@ sp_selected_path_boolop(bool_op bop, const unsigned int verb, const Glib::ustrin
 
     GSList *il = (GSList *) selection->itemList();
 
-    if (g_slist_length(il) < 2) {
+    if (g_slist_length(il) < 2 && bop != bool_op_union) {
         desktop->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Select <b>at least 2 paths</b> to perform a boolean operation."));
         return;
     }