Skip to content

Commit

Permalink
Maybe fix scheme-size crash???
Browse files Browse the repository at this point in the history
  • Loading branch information
sbxte committed Mar 27, 2024
1 parent 31b5b38 commit 823f0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schembrowser/ui/SchematicBrowserDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void hide() {
setTransform(true);

hide(Actions.sequence(Actions.fadeOut(0.4f, Interp.fade), Actions.run(() -> { // Nuke previews to save ram FINISHME: Nuke the schematics as well and reload them on dialog open. Ideally, we should do that across all threads similar to how we load saves
var previews = Reflect.<OrderedMap<Schematic, FrameBuffer>>get(schematics, "previews");
var previews = Reflect.<OrderedMap<Schematic, FrameBuffer>>get(Schematics.class, schematics, "previews");
var removed = new Queue<FrameBuffer>();
for (var schems : loadedRepositories.values()) {
for (var schem : schems) {
Expand Down

0 comments on commit 823f0fa

Please sign in to comment.