diff --git a/dist/mashine.jar b/dist/mashine.jar index 7494067..d74ff8e 100644 Binary files a/dist/mashine.jar and b/dist/mashine.jar differ diff --git a/lib/ola/protobuf-java-2.4.1.jar b/lib/ola/protobuf-java-2.4.1.jar new file mode 100644 index 0000000..c8ca833 Binary files /dev/null and b/lib/ola/protobuf-java-2.4.1.jar differ diff --git a/lib/ola/protobuf-java-2.6.1.jar b/lib/ola/protobuf-java-2.6.1.jar deleted file mode 100644 index 0fcd808..0000000 Binary files a/lib/ola/protobuf-java-2.6.1.jar and /dev/null differ diff --git a/src/mashine/Inputs.java b/src/mashine/Inputs.java index b5e8ca2..2dbad85 100644 --- a/src/mashine/Inputs.java +++ b/src/mashine/Inputs.java @@ -134,9 +134,9 @@ public double getRange(String inputName){ } } - public void registerAction(String destination, Do action){ if(!actions.containsKey(destination)) actions.put(destination, action);} - public void registerState(String destination){ if(!states.contains(destination)) states.add(destination);} - public void registerRange(String destination){ if(!ranges.contains(destination)) ranges.add(destination);} + public void registerAction(String destination, Do action){ actions.put(destination, action);} + public void registerState(String destination){ states.add(destination);} + public void registerRange(String destination){ ranges.add(destination);} public void link(String destination, String source){actionLinks.put(destination, source);} public void range(String destination, String source){rangeLinks.put(destination, source);} diff --git a/src/mashine/MaShine.java b/src/mashine/MaShine.java index ee6f456..f238b64 100644 --- a/src/mashine/MaShine.java +++ b/src/mashine/MaShine.java @@ -21,7 +21,7 @@ public class MaShine extends PApplet{ - public static String VERSION = "0.1"; + public static String VERSION = "0.1.1"; private static final String[] MAIN_WINDOW = new String[] { "mashine.MaShine" }; private String lastSavedTo = "";