diff --git a/src/main/java/com/commonwealthrobotics/allign/AllignManager.java b/src/main/java/com/commonwealthrobotics/allign/AllignManager.java index 213b9d0..4780afc 100644 --- a/src/main/java/com/commonwealthrobotics/allign/AllignManager.java +++ b/src/main/java/com/commonwealthrobotics/allign/AllignManager.java @@ -8,6 +8,7 @@ import com.commonwealthrobotics.controls.SelectionSession; import com.commonwealthrobotics.rotate.RotationHandle; +import com.neuronrobotics.bowlerstudio.BowlerStudio; import com.neuronrobotics.bowlerstudio.scripting.cadoodle.Allign; import com.neuronrobotics.bowlerstudio.scripting.cadoodle.ICaDoodleOpperation; import com.neuronrobotics.bowlerstudio.threed.BowlerStudio3dEngine; @@ -99,7 +100,8 @@ public void initialize(Bounds b, BowlerStudio3dEngine engine, List ta, List HashMap meshes) { this.meshes = meshes; for (Node n : getElements()) { - n.setVisible(true); + BowlerStudio.runLater(()->n.setVisible(true)); + ; } this.toAllign.clear(); for (CSG c : ta)