From 9512a991937585c7aba0e78472fd9da0ca909e00 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