Code

Allow SPFlowtexts to be used in boolean operations
authorgustav_b <gustav_b@users.sourceforge.net>
Sun, 21 Oct 2007 20:23:02 +0000 (20:23 +0000)
committergustav_b <gustav_b@users.sourceforge.net>
Sun, 21 Oct 2007 20:23:02 +0000 (20:23 +0000)
src/splivarot.cpp

index d16137c1d06a81e1854d7814e6809eb0a6b4d721..fff70eb25a34b8c8a13a7a7bd8daf69a6220d0d5 100644 (file)
@@ -187,7 +187,7 @@ sp_selected_path_boolop(bool_op bop, const unsigned int verb, const Glib::ustrin
     for (GSList *l = il; l != NULL; l = l->next)
     {
         SPItem *item = SP_ITEM(l->data);
-        if (!SP_IS_SHAPE(item) && !SP_IS_TEXT(item))
+        if (!SP_IS_SHAPE(item) && !SP_IS_TEXT(item) && !SP_IS_FLOWTEXT(item))
         {
             desktop->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("One of the objects is <b>not a path</b>, cannot perform boolean operation."));
             g_slist_free(il);