Cleanup
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user