From: buliabyak Date: Tue, 24 Oct 2006 03:54:12 +0000 (+0000) Subject: enable copy/paste of objects with filters X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a9a0b21abc8ca237bb6740528d6d3593b888b10a;p=inkscape.git enable copy/paste of objects with filters --- diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 94e0b709a..9d3128ebc 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -934,6 +934,13 @@ void sp_copy_stuff_used_by_item (GSList **defs_clip, SPItem *item, const GSList } } + if (style->filter.filter) { + SPObject *filter = style->filter.filter; + if (SP_IS_FILTER(filter)) { + sp_copy_single (defs_clip, filter); + } + } + // recurse for (SPObject *o = SP_OBJECT(item)->children; o != NULL; o = o->next) { if (SP_IS_ITEM(o))