]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Force zero offset for concentric reducers 86/3686/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 5 Dec 2019 13:39:54 +0000 (15:39 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 5 Dec 2019 13:39:54 +0000 (15:39 +0200)
gitlab #65

Change-Id: I7a38605d1bb089286b48bccf4d00fdfcd32d78c3

org.simantics.plant3d/src/org/simantics/plant3d/geometry/ReducerGeometryProvider.java

index 8697fe1447a32f67b0802c24c6f736edab9c40de..c793fd26f6b65fa9e3fb1738a84e4224192a22e4 100644 (file)
@@ -78,6 +78,8 @@ public class ReducerGeometryProvider extends BuiltinMeshProvider  {
                
                if (props.containsKey("offset")) {
                        offset = (Double)props.get("offset");
+               } else {
+                   offset = 0.0;
                }