diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-02-24 19:34:32 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-02-24 19:34:32 +0000 |
| commit | ec36700069da6b458219eb1cfc16d225a6c1bae1 (patch) | |
| tree | 08edd04a92d7bba4cc23677d3e185aece28f36c9 /src/selection-chemistry.cpp | |
| parent | some more refactoring (diff) | |
| download | inkscape-ec36700069da6b458219eb1cfc16d225a6c1bae1.tar.gz inkscape-ec36700069da6b458219eb1cfc16d225a6c1bae1.zip | |
fix 1332884
(bzr r2426)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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? |
