X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2FDoubleArrayPropertyManipulator.java;h=a9971605af500f1433678bc20701f4b232c76734;hb=32b0d23669bb57c4869ea4b761ae821892a14be5;hp=bfaa4a506a3c833a605b330eb203b0d2a3c5e04e;hpb=01441002a94a1f4ad2b078d63cb719ce617bd6cf;p=simantics%2F3d.git diff --git a/org.simantics.g3d/src/org/simantics/g3d/property/DoubleArrayPropertyManipulator.java b/org.simantics.g3d/src/org/simantics/g3d/property/DoubleArrayPropertyManipulator.java index bfaa4a50..a9971605 100644 --- a/org.simantics.g3d/src/org/simantics/g3d/property/DoubleArrayPropertyManipulator.java +++ b/org.simantics.g3d/src/org/simantics/g3d/property/DoubleArrayPropertyManipulator.java @@ -51,6 +51,7 @@ public class DoubleArrayPropertyManipulator implements PropertyManipulator { } try { double[] val = getValue(); + if (val == null) return null; return Arrays.toString(val); } catch (Exception e) { return null;