diff options
| author | Matthew Petroff <matthew@mpetroff.net> | 2013-09-11 23:35:54 +0000 |
|---|---|---|
| committer | Matthew Petroff <matthew@mpetroff.net> | 2013-09-11 23:35:54 +0000 |
| commit | 93167c446a8a8e5574e94cda37dc91c17072513b (patch) | |
| tree | 97b53d07efb1198d272679ff97bc77ea2b320c6b /src/sp-item-group.cpp | |
| parent | Fix document unit change undo bug. (diff) | |
| download | inkscape-93167c446a8a8e5574e94cda37dc91c17072513b.tar.gz inkscape-93167c446a8a8e5574e94cda37dc91c17072513b.zip | |
Finish fixing document unit change undo bug.
(bzr r12475.1.15)
Diffstat (limited to 'src/sp-item-group.cpp')
| -rw-r--r-- | src/sp-item-group.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index ec368bbac..be62764c3 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -591,12 +591,12 @@ void SPGroup::scaleChildItemsRec(Geom::Scale const &sc, Geom::Point const &p) } else { // TODO: transformed text on textpath } - } - - if (SP_IS_BOX3D(item)) { + } else if (SP_IS_BOX3D(item)) { // Force recalculation from perspective box3d_position_set(SP_BOX3D(item)); - } else if (SP_IS_USE(item)) { + } + + if (SP_IS_USE(item)) { // calculate the matrix we need to apply to the clone // to cancel its induced transform from its original Geom::Affine move = final.inverse() * item->transform * final; |
