diff --git a/devices/CurrentCamera.properties b/devices/CurrentCamera.properties index 1edac3c..e423501 100755 --- a/devices/CurrentCamera.properties +++ b/devices/CurrentCamera.properties @@ -1,4 +1,4 @@ -#Thu Apr 18 16:34:09 CEST 2019 +#Mon May 06 16:47:41 CEST 2019 colormap=Temperature colormapAutomatic=true colormapLogarithmic=false diff --git a/plugins/ScreenPanel4.java b/plugins/ScreenPanel4.java index 2b984e4..8221338 100644 --- a/plugins/ScreenPanel4.java +++ b/plugins/ScreenPanel4.java @@ -2399,7 +2399,11 @@ public class ScreenPanel4 extends Panel { } public Map getProcessingParameters(StreamValue value) throws IOException { - return (Map) JsonSerializer.decode(value.getValue("processing_parameters").toString(), Map.class); + try{ + return (Map) JsonSerializer.decode(value.getValue("processing_parameters").toString(), Map.class); + } catch (Exception ex){ + return new HashMap<>(); + } } void saveFrames(String name, ArrayList frames) throws IOException {