From 93124d10d65528cd8db7c81b1609c6533d4912cd Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 14 Sep 2007 21:41:07 +0000 Subject: fix pasting of LPE's across multiple document; plus a number of small fixes. (bzr r3745) --- src/selection-chemistry.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/selection-chemistry.cpp') diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 251aa6dc0..331e164e8 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -934,6 +934,12 @@ void sp_copy_stuff_used_by_item (GSList **defs_clip, SPItem *item, const GSList sp_copy_single (defs_clip, SP_OBJECT (shape->marker[i]), xml_doc); } } + + // For shapes, also copy liveeffect if applicable + if (sp_shape_has_path_effect(shape)) { + g_message("copy to clip"); + sp_copy_single (defs_clip, SP_OBJECT(sp_shape_get_livepatheffectobject(shape)), xml_doc); + } } if (SP_IS_TEXT_TEXTPATH (item)) { -- cgit v1.2.3