From d3364635ba8e0a41e13b22b437db3b0feeed46c9 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 22 Apr 2019 20:56:25 +0300 Subject: [PATCH] Do not copy elevation to target but use existing elevation gitlab #43 APROS-15307 Change-Id: I3cbc97ec442d7dda453093b1dd370413339e5437 --- .../network/ui/contributions/PasteDistrictVertexHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/contributions/PasteDistrictVertexHandler.java b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/contributions/PasteDistrictVertexHandler.java index 0ad64469..c9aa0f3c 100644 --- a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/contributions/PasteDistrictVertexHandler.java +++ b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/contributions/PasteDistrictVertexHandler.java @@ -276,7 +276,7 @@ public class PasteDistrictVertexHandler { private static Resource attributeMappingToVertexAttribute(ReadGraph graph, DistrictNetworkResource DN, Resource attribute) throws DatabaseException { Resource attr = null; if (attribute.equals(DN.Mapping_VertexMapping_ElevationAttribute)) - attr = DN.Vertex_HasElevation; + attr = null; // ignore elevation as well else if (attribute.equals(DN.Mapping_VertexMapping_AddressAttribute)) attr = DN.Vertex_HasAddress; else if (attribute.equals(DN.Mapping_VertexMapping_DeltaPressureAttribute)) -- 2.47.1