]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
refs #5185
authorjsimomaa <jsimomaa@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 25 Aug 2014 07:03:04 +0000 (07:03 +0000)
committerjsimomaa <jsimomaa@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 25 Aug 2014 07:03:04 +0000 (07:03 +0000)
Removing accidental debug print

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30128 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/RouteFlowConnectionFactory.java

index 1b80dcf8b523b0d359694a897a847b499b2fa1c4..517a696e57e7f93709d5a20ae622f1725ec872c9 100644 (file)
@@ -128,16 +128,8 @@ public class RouteFlowConnectionFactory extends SyncElementFactory {
 \r
         // Do we need this?\r
         element.setHint(DiagramHints.ROUTE_ALGORITHM, new Router4(false));\r
-        System.out.println(connection);\r
         IModelingRules modelingRules = diagram.getHint(DiagramModelHints.KEY_MODELING_RULES);\r
 \r
-//        IElement mappedElement = ElementUtils.getByData(diagram, connection);\r
-//        if (mappedElement == null) {\r
-//            System.out.println("taalla ollaan mappedElement == null");\r
-//            // FIXME: With undo this seems to happen, don't know why yet!\r
-//            return;\r
-//        }\r
-\r
         Color color = null;\r
         DiagramResource DR = DiagramResource.getInstance(graph);\r
         G2DResource G2D = G2DResource.getInstance(graph);\r