mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
API achange (0.11.8): computeNormals returns only pcl::Normal cloud, not pcl::PointNormal or pcl::PointXYZRGBNormal types. MainWindow: Normals are not kept in cache to save RAM. ProgressDialog: check if auto-close is still checked when close() slot is called.
This commit is contained in:
@@ -109,7 +109,7 @@ void ProgressDialog::setValue(int value)
|
||||
}
|
||||
else if(_closeWhenDoneCheckBox->isChecked())
|
||||
{
|
||||
QTimer::singleShot(_delayedClosingTime*1000, this, SLOT(close()));
|
||||
QTimer::singleShot(_delayedClosingTime*1000, this, SLOT(closeDialog()));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -146,6 +146,14 @@ void ProgressDialog::resetProgress()
|
||||
_closeButton->setEnabled(false);
|
||||
}
|
||||
|
||||
void ProgressDialog::closeDialog()
|
||||
{
|
||||
if(_closeWhenDoneCheckBox->isChecked())
|
||||
{
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
void ProgressDialog::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
if(_progressBar->value() == _progressBar->maximum())
|
||||
|
||||
Reference in New Issue
Block a user