This commit is contained in:
luboslenco
2022-12-20 21:46:14 +01:00
parent f513e3c509
commit 8bd04fa3bd
-2
View File
@@ -412,7 +412,6 @@ class Project {
} }
if (ui.button(tr("Import")) || ui.isReturnDown) { if (ui.button(tr("Import")) || ui.isReturnDown) {
UIBox.hide(); UIBox.hide();
App.redrawUI();
function doImport() { function doImport() {
ImportMesh.run(path, clearLayers, replaceExisting); ImportMesh.run(path, clearLayers, replaceExisting);
} }
@@ -464,7 +463,6 @@ class Project {
} }
if (ui.button(tr("Unwrap")) || ui.isReturnDown) { if (ui.button(tr("Unwrap")) || ui.isReturnDown) {
UIBox.hide(); UIBox.hide();
App.redrawUI();
function doImport() { function doImport() {
if (unwrapBy == unwrapPlugins.length - 1) { if (unwrapBy == unwrapPlugins.length - 1) {
MeshUtil.equirectUnwrap(mesh); MeshUtil.equirectUnwrap(mesh);