From 0b0f3a04326ad6dc1b5465b9499befde553932c5 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Thu, 21 May 2015 06:32:51 +0000 Subject: [PATCH] Merged /sysdyn/trunk:r31328 to /sysdyn/branches/1.9 for 1.9.1. refs #5863 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/1.9@31330 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../simantics/sysdyn/ui/elements/SysdynTextElementNoBounds.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/SysdynTextElementNoBounds.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/SysdynTextElementNoBounds.java index 3e2f4f52..7ea3a497 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/SysdynTextElementNoBounds.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/SysdynTextElementNoBounds.java @@ -181,7 +181,7 @@ public class SysdynTextElementNoBounds extends TextElementNoBounds { Object o = e.getHint(SG_NODE); if (o instanceof TextNode) { TextNode text = (TextNode)o; - AffineTransform at = text.getTransform(); + AffineTransform at = new AffineTransform(text.getTransform()); double x = at.getTranslateX(); double y = at.getTranslateY(); at.setToRotation(0); -- 2.47.1