Skip to content

Commit

Permalink
showing handles needs to be done in the UI thread
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Dec 27, 2024
1 parent 5aa4d6d commit 876682d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -99,7 +100,8 @@ public void initialize(Bounds b, BowlerStudio3dEngine engine, List<CSG> ta, List
HashMap<CSG, MeshView> meshes) {
this.meshes = meshes;
for (Node n : getElements()) {
n.setVisible(true);
BowlerStudio.runLater(()->n.setVisible(true));
;
}
this.toAllign.clear();
for (CSG c : ta)
Expand Down

0 comments on commit 876682d

Please sign in to comment.