diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-02-29 15:38:04 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-02-29 15:38:04 +0000 |
| commit | 4e8716181b4860e446110a8f1429822213c67189 (patch) | |
| tree | f47a6125049b830460059f42a803d38921027804 /src | |
| parent | fix some header defines (diff) | |
| download | inkscape-4e8716181b4860e446110a8f1429822213c67189.tar.gz inkscape-4e8716181b4860e446110a8f1429822213c67189.zip | |
Copy perspectives, too, when pasting 3D boxes (solves LP #195867)
(bzr r4907)
Diffstat (limited to 'src')
| -rw-r--r-- | src/selection-chemistry.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 6f038447e..62f5c57e2 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -954,6 +954,11 @@ void sp_copy_stuff_used_by_item (GSList **defs_clip, SPItem *item, GSList const } } + // For 3D boxes copy perspectives + if (SP_IS_BOX3D(item)) { + sp_copy_single (defs_clip, SP_OBJECT(box3d_get_perspective(SP_BOX3D(item))), xml_doc); + } + if (SP_IS_TEXT_TEXTPATH (item)) { sp_copy_textpath_path (defs_clip, SP_TEXTPATH(sp_object_first_child(SP_OBJECT(item))), items, xml_doc); } |
