summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-09-16 19:46:30 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-09-16 19:46:30 +0000
commit677d56171814daeffec32f9db135a0585a033f93 (patch)
tree51298ee1cb570f4344d6bbe44719cc556a410bd6 /src/sp-item-group.cpp
parentAdd exponent to expression evaluator. (diff)
downloadinkscape-677d56171814daeffec32f9db135a0585a033f93.tar.gz
inkscape-677d56171814daeffec32f9db135a0585a033f93.zip
Fix 3d box document unit change undo bug.
(bzr r12475.1.26)
Diffstat (limited to 'src/sp-item-group.cpp')
-rw-r--r--src/sp-item-group.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index e355c6cea..2d4c097c8 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -601,7 +601,9 @@ void SPGroup::scaleChildItemsRec(Geom::Scale const &sc, Geom::Point const &p)
item->removeAttribute("inkscape:connector-type");
}
- if ((SP_IS_TEXT_TEXTPATH(item) || SP_IS_FLOWTEXT(item)) && !item->transform.isIdentity()) {
+ if (SP_IS_PERSP3D(item)) {
+ persp3d_apply_affine_transformation(SP_PERSP3D(item), final);
+ } else if ((SP_IS_TEXT_TEXTPATH(item) || SP_IS_FLOWTEXT(item)) && !item->transform.isIdentity()) {
// Save and reset current transform
Geom::Affine tmp(item->transform);
item->transform = Geom::Affine();