mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-14 16:44:37 +00:00
Avoid unnecessarily turning off the layer dialog, it is distracting
This commit is contained in:
parent
f9b56b498a
commit
be1620521b
@ -1586,7 +1586,7 @@ void MainWindow::saveProject()
|
||||
bool MainWindow::openProject(QString fileName)
|
||||
{
|
||||
bool visiblelayer = layerDialog->isVisible();
|
||||
showLayerDlg(false);
|
||||
//showLayerDlg(false);
|
||||
globrendtoolbar->setEnabled(false);
|
||||
if (fileName.isEmpty())
|
||||
fileName = QFileDialog::getOpenFileName(this,tr("Open Project File"), lastUsedDirectory.path(), tr("All Project Files (*.mlp *.mlb *.aln *.out *.nvm);;MeshLab Project (*.mlp);;MeshLab Binary Project (*.mlb);;Align Project (*.aln);;Bundler Output (*.out);;VisualSFM Output (*.nvm)"));
|
||||
@ -2244,7 +2244,7 @@ bool MainWindow::importMeshWithLayerManagement(QString fileName)
|
||||
if (layerDialog != NULL)
|
||||
{
|
||||
layervisible = layerDialog->isVisible();
|
||||
showLayerDlg(false);
|
||||
//showLayerDlg(false);
|
||||
}
|
||||
globrendtoolbar->setEnabled(false);
|
||||
bool res = importMesh(fileName,false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user