From: cilix42 Date: Fri, 29 Feb 2008 15:38:04 +0000 (+0000) Subject: Copy perspectives, too, when pasting 3D boxes (solves LP #195867) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e0afed3e765bb3c0c3708909deae59d07ed9b4e5;p=inkscape.git Copy perspectives, too, when pasting 3D boxes (solves LP #195867) --- 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); }