From a9a0b21abc8ca237bb6740528d6d3593b888b10a Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 24 Oct 2006 03:54:12 +0000 Subject: [PATCH] enable copy/paste of objects with filters --- src/selection-chemistry.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2