From: Reino Ruusu Date: Wed, 1 Apr 2020 13:07:07 +0000 (+0300) Subject: Update offset values to reflect changes in pipe run parameters X-Git-Tag: v1.43.0~29 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F4085%2F1;p=simantics%2F3d.git Update offset values to reflect changes in pipe run parameters gitlab #113 Change-Id: Iea589d15afd9fada0d73f9ecd5cea15f4531c7bd --- 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()); } }