From 8b4cdc730d95283475ba5c4639a534215118b94a Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Thu, 5 Dec 2019 15:39:54 +0200 Subject: [PATCH] Force zero offset for concentric reducers gitlab #65 Change-Id: I7a38605d1bb089286b48bccf4d00fdfcd32d78c3 --- .../org/simantics/plant3d/geometry/ReducerGeometryProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/geometry/ReducerGeometryProvider.java b/org.simantics.plant3d/src/org/simantics/plant3d/geometry/ReducerGeometryProvider.java index 8697fe14..c793fd26 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/geometry/ReducerGeometryProvider.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/geometry/ReducerGeometryProvider.java @@ -78,6 +78,8 @@ public class ReducerGeometryProvider extends BuiltinMeshProvider { if (props.containsKey("offset")) { offset = (Double)props.get("offset"); + } else { + offset = 0.0; } -- 2.47.1