summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorAaron Spike <aaron@ekips.org>2006-11-10 03:35:56 +0000
committeracspike <acspike@users.sourceforge.net>2006-11-10 03:35:56 +0000
commite59cad02f373e746fee07043aec32e9586962b4e (patch)
tree358487a395049f84f091a1ba7c9a7f65be5bb10e /src/splivarot.cpp
parentdisable "experimental" Cairo PDF output for now (diff)
downloadinkscape-e59cad02f373e746fee07043aec32e9586962b4e.tar.gz
inkscape-e59cad02f373e746fee07043aec32e9586962b4e.zip
allow union on a single object for the purpose of removing self overlaps
(bzr r1935)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp2
1 files changed, 1 insertions, 1 deletions
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 <b>at least 2 paths</b> to perform a boolean operation."));
return;
}