From ae870a56c19a680707eb30c402d8d7f9b54bdddd Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Wed, 1 Apr 2020 16:07:07 +0300 Subject: [PATCH] Update offset values to reflect changes in pipe run parameters gitlab #113 Change-Id: Iea589d15afd9fada0d73f9ecd5cea15f4531c7bd (cherry picked from commit edaee7dece426eca744caee573844bd4f580fb39) --- .../src/org/simantics/plant3d/scenegraph/InlineComponent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/InlineComponent.java b/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/InlineComponent.java index ed4917df..695f1fa6 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/InlineComponent.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/InlineComponent.java @@ -174,6 +174,7 @@ public class InlineComponent extends PipelineComponent { map.put("radius2", pipeRun2.getPipeDiameter() * 0.5); } if (controlPoint.isOffset() && !componentCalculatedOffset) { + updateOffset(); map.put("offset", controlPoint.getOffset()); } } -- 2.47.1