From e0afed3e765bb3c0c3708909deae59d07ed9b4e5 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Fri, 29 Feb 2008 15:38:04 +0000 Subject: [PATCH] Copy perspectives, too, when pasting 3D boxes (solves LP #195867) --- src/selection-chemistry.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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); } -- 2.30.2