]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Merged /sysdyn/trunk:r31328 to /sysdyn/branches/1.9 for 1.9.1.
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 21 May 2015 06:32:51 +0000 (06:32 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 21 May 2015 06:32:51 +0000 (06:32 +0000)
refs #5863

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/1.9@31330 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/SysdynTextElementNoBounds.java

index 3e2f4f52896f1f10aeaed4d55c2d3aa48fb9f33e..7ea3a4974bc8653709f3cdc1be7856fb0bbd445d 100644 (file)
@@ -181,7 +181,7 @@ public class SysdynTextElementNoBounds extends TextElementNoBounds {
         Object o = e.getHint(SG_NODE);\r
         if (o instanceof TextNode) {\r
             TextNode text = (TextNode)o;\r
-            AffineTransform at = text.getTransform();\r
+            AffineTransform at = new AffineTransform(text.getTransform());\r
             double x = at.getTranslateX();\r
             double y = at.getTranslateY();\r
             at.setToRotation(0);\r