]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.imports.ui/src/org/simantics/district/imports/ui/CSVImportWizard.java
Allow starting/ending of manual network creation to vertices only
[simantics/district.git] / org.simantics.district.imports.ui / src / org / simantics / district / imports / ui / CSVImportWizard.java
index c0d756d3c86cfef87ef9eaf0ebca232e464d2725..8b0a377bfbaa797a7165df6e2999e2ff66eb533c 100644 (file)
@@ -263,7 +263,7 @@ public class CSVImportWizard extends Wizard implements IImportWizard {
                                                 flipAxes(startCoords);
                                                 flipAxes(endCoords);
                                                 
-                                                Optional<Resource> oedge = DNEdgeBuilder.create(graph, vv, model.getParentDiagram(), model.getComponentMappings().get(mappingValue), startCoords, startZCoord, endCoords, endZCoord, padding, true);
+                                                Optional<Resource> oedge = DNEdgeBuilder.create(graph, vv, model.getParentDiagram(), model.getComponentMappings().get(mappingValue), startCoords, startZCoord, endCoords, endZCoord, new double[0], padding, true);
                                                 if (oedge.isPresent()) {
                                                     Resource edge = oedge.get();
                                                     writeStringValue(graph, row, idColumn, edge, DN.HasId);