From 108a7f8b42ac34cf3c6aa607e6900cfb2c85a96a Mon Sep 17 00:00:00 2001 From: acspike Date: Fri, 10 Nov 2006 03:35:56 +0000 Subject: [PATCH] allow union on a single object for the purpose of removing self overlaps --- src/splivarot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 9aec69575..8c9f6e819 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -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 at least 2 paths to perform a boolean operation.")); return; } -- 2.30.2