summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-09-14 21:41:07 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-09-14 21:41:07 +0000
commit93124d10d65528cd8db7c81b1609c6533d4912cd (patch)
treecbe14fabe62f4d678054e7a6d55267186e5566a0 /src/selection-chemistry.cpp
parentFixed min/max confusion bug (diff)
downloadinkscape-93124d10d65528cd8db7c81b1609c6533d4912cd.tar.gz
inkscape-93124d10d65528cd8db7c81b1609c6533d4912cd.zip
fix pasting of LPE's across multiple document; plus a number of small fixes.
(bzr r3745)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp6
1 files changed, 6 insertions, 0 deletions
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)) {