]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/src/org/simantics/g3d/property/DoubleArrayPropertyManipulator.java
Allow property editing with just a single mouse click
[simantics/3d.git] / org.simantics.g3d / src / org / simantics / g3d / property / DoubleArrayPropertyManipulator.java
index bfaa4a506a3c833a605b330eb203b0d2a3c5e04e..a9971605af500f1433678bc20701f4b232c76734 100644 (file)
@@ -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;