mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
remove unuseful isreloaded parameter
This commit is contained in:
parent
44530b23ca
commit
907e39d6cb
@ -143,7 +143,7 @@ private:
|
||||
|
||||
private slots:
|
||||
void documentUpdateRequested();
|
||||
bool importMesh(QString fileName=QString(), bool isareload = false);
|
||||
bool importMesh(QString fileName=QString());
|
||||
void endEdit();
|
||||
void updateProgressBar(const int pos,const QString& text);
|
||||
void updateTexture(int meshid);
|
||||
|
||||
@ -2350,7 +2350,7 @@ bool MainWindow::importMeshWithLayerManagement(QString fileName)
|
||||
//showLayerDlg(false);
|
||||
}
|
||||
globrendtoolbar->setEnabled(false);
|
||||
bool res = importMesh(fileName,false);
|
||||
bool res = importMesh(fileName);
|
||||
globrendtoolbar->setEnabled(true);
|
||||
if (layerDialog != NULL)
|
||||
showLayerDlg(layervisible || meshDoc()->meshList.size());
|
||||
@ -2359,7 +2359,7 @@ bool MainWindow::importMeshWithLayerManagement(QString fileName)
|
||||
}
|
||||
|
||||
// Opening files in a transparent form (IO plugins contribution is hidden to user)
|
||||
bool MainWindow::importMesh(QString fileName,bool isareload)
|
||||
bool MainWindow::importMesh(QString fileName)
|
||||
{
|
||||
if (!GLA())
|
||||
{
|
||||
@ -2422,7 +2422,7 @@ bool MainWindow::importMesh(QString fileName,bool isareload)
|
||||
t.start();
|
||||
Matrix44m mtr;
|
||||
mtr.SetIdentity();
|
||||
bool open = loadMesh(fileName,pCurrentIOPlugin,mm,mask,&prePar,mtr,isareload);
|
||||
bool open = loadMesh(fileName,pCurrentIOPlugin,mm,mask,&prePar,mtr,false);
|
||||
if(open)
|
||||
{
|
||||
GLA()->Logf(0, "Opened mesh %s in %i msec", qUtf8Printable(fileName), t.elapsed());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user