From: buliabyak Date: Sat, 24 Feb 2007 19:34:32 +0000 (+0000) Subject: fix 1332884 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be79822950187836d995f3922b2be973b28cef4e;p=inkscape.git fix 1332884 --- diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 86e6bdc90..d3fff18e9 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -1389,8 +1389,8 @@ void sp_selection_apply_affine(Inkscape::Selection *selection, NR::Matrix const sp_item_update_cns(*item, selection->desktop()); #endif - // we're moving both a clone and its original? - bool transform_clone_with_original = (SP_IS_USE(item) && selection->includes( sp_use_get_original (SP_USE(item)) )); + // we're moving both a clone and its original or any ancestor in clone chain? + bool transform_clone_with_original = selection_contains_original(item, selection); // ...both a text-on-path and its path? bool transform_textpath_with_path = (SP_IS_TEXT_TEXTPATH(item) && selection->includes( sp_textpath_get_path_item (SP_TEXTPATH(sp_object_first_child(SP_OBJECT(item)))) )); // ...both a flowtext and its frame?