Commit 2a3441b7 authored by Thomas Zander's avatar Thomas Zander


svn path=/trunk/koffice/; revision=695894
parent d5323899
......@@ -279,7 +279,7 @@ void KoShape::applyTransformation( const QMatrix &matrix )
QMatrix globalMatrix = transformationMatrix(0);
// the transformation is relative to the global coordinate system
// but we want to change the local matrix, so convert the matrix
// to relate to the local coordinate system
// to be relative to the local coordinate system
QMatrix transformMatrix = globalMatrix * matrix * globalMatrix.inverted();
d->localMatrix = transformMatrix * d->localMatrix;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment