From eae179045726e5ba708f4f7a8d2999f0920e83ec Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 24 Oct 2006 03:54:12 +0000 Subject: enable copy/paste of objects with filters (bzr r1852) --- src/selection-chemistry.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/selection-chemistry.cpp') 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)) -- cgit v1.2.3