summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-09-02 19:51:04 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-09-02 19:51:04 +0000
commit632414c7cdd5f8992c6d6439d25128b82e93d499 (patch)
treecf5b544e03b0b165e8c6fe68e9345d6259f73e62 /src/draw-context.cpp
parentForgot to remove "share/ui/units.txt" from "share/ui/Makefile.am". (diff)
downloadinkscape-632414c7cdd5f8992c6d6439d25128b82e93d499.tar.gz
inkscape-632414c7cdd5f8992c6d6439d25128b82e93d499.zip
Fix bug that added transforms to new objects.
(bzr r12475.1.11)
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index 869c1ae39..51d8ca3cd 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -646,6 +646,7 @@ static void spdc_flush_white(SPDrawContext *dc, SPCurve *gc)
dc->selection->set(repr);
Inkscape::GC::release(repr);
item->transform = SP_ITEM(desktop->currentLayer())->i2doc_affine().inverse();
+ item->doWriteTransform(item->getRepr(), item->transform, NULL, true);
item->updateRepr();
}