From: jsimomaa Date: Mon, 25 Aug 2014 07:03:04 +0000 (+0000) Subject: refs #5185 X-Git-Tag: v1.29.0~214 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=03924d5a6af2ba48dff52f9f8ddff0173d17be4a;p=simantics%2Fsysdyn.git refs #5185 Removing accidental debug print git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30128 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/RouteFlowConnectionFactory.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/RouteFlowConnectionFactory.java index 1b80dcf8..517a696e 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/RouteFlowConnectionFactory.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/RouteFlowConnectionFactory.java @@ -128,16 +128,8 @@ public class RouteFlowConnectionFactory extends SyncElementFactory { // Do we need this? element.setHint(DiagramHints.ROUTE_ALGORITHM, new Router4(false)); - System.out.println(connection); IModelingRules modelingRules = diagram.getHint(DiagramModelHints.KEY_MODELING_RULES); -// IElement mappedElement = ElementUtils.getByData(diagram, connection); -// if (mappedElement == null) { -// System.out.println("taalla ollaan mappedElement == null"); -// // FIXME: With undo this seems to happen, don't know why yet! -// return; -// } - Color color = null; DiagramResource DR = DiagramResource.getInstance(graph); G2DResource G2D = G2DResource.getInstance(graph);