summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-04-29 02:33:38 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-04-29 02:33:38 +0000
commit9c8111486766d59d6877868cf5a51a0325236611 (patch)
treee83981001d252dc67365e3526d61bcf73bd0f845 /src
parentClean up type strings (diff)
downloadinkscape-9c8111486766d59d6877868cf5a51a0325236611.tar.gz
inkscape-9c8111486766d59d6877868cf5a51a0325236611.zip
reset center on stamping
(bzr r609)
Diffstat (limited to 'src')
-rw-r--r--src/seltrans.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index ec6ca8ba2..0c478edaa 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -422,6 +422,10 @@ void Inkscape::SelTrans::stamp()
sp_item_write_transform(copy_item, copy_repr, *new_affine);
+ if (copy_item->isCenterSet()) {
+ copy_item->setCenter(_center * _current);
+ }
+
Inkscape::GC::release(copy_repr);
l = l->next;
}