Skip to content

Commit

Permalink
Remove save codec dialog due to not working well with browser downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Apr 19, 2023
1 parent ac808e6 commit 5e2c287
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion js/io/io.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,10 @@ BARS.defineActions(function() {
}
} else {
saveTextures()
if (Format.codec && Format.codec.export) {
Format.codec.export()
}
/*
if (Format.codec && Format.codec.export) {
let codec = await new Promise(resolve => Blockbench.showMessageBox({
Expand All @@ -689,7 +693,7 @@ BARS.defineActions(function() {
} else {
Project.saved = false;
}
}*/
}
}
})
Expand Down
Loading

0 comments on commit 5e2c287

Please sign in to comment.