diff --git a/libraries/bowler-script-kernel b/libraries/bowler-script-kernel index 7406f8789..65710baeb 160000 --- a/libraries/bowler-script-kernel +++ b/libraries/bowler-script-kernel @@ -1 +1 @@ -Subproject commit 7406f878978cfe626dc8d587b447aa1447583dda +Subproject commit 65710baebfce56a0d8e0937711c3530a695fa408 diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/creature/VitatminWidget.java b/src/main/java/com/neuronrobotics/bowlerstudio/creature/VitatminWidget.java index e06cebeeb..293e1ad5a 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/creature/VitatminWidget.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/creature/VitatminWidget.java @@ -157,8 +157,12 @@ private void fireVitaminSelectedUpdate() { tf.updatePose(selectedVitamin.getLocation()); transformPanel.setDisable(false); MobileBaseCadManager manager = MobileBaseCadManager.get(holder); - Affine af = manager.getVitaminAffine(selectedVitamin); - BowlerStudioController.setSelectedAffine(af); + try { + Affine af = manager.getVitaminAffine(selectedVitamin); + BowlerStudioController.setSelectedAffine(af); + }catch(Exception e) { + e.printStackTrace(); + } } public void setVitaminProvider(IVitaminHolder h) {