summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-10-24 03:54:12 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-10-24 03:54:12 +0000
commiteae179045726e5ba708f4f7a8d2999f0920e83ec (patch)
tree0ce5ef9c61b3b36d1adc4bc1c0232a345b0e4878 /src
parentfix crash: when closing a document, the selection we're passed as argument ma... (diff)
downloadinkscape-eae179045726e5ba708f4f7a8d2999f0920e83ec.tar.gz
inkscape-eae179045726e5ba708f4f7a8d2999f0920e83ec.zip
enable copy/paste of objects with filters
(bzr r1852)
Diffstat (limited to 'src')
-rw-r--r--src/selection-chemistry.cpp7
1 files changed, 7 insertions, 0 deletions
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))