fixed crash when changing nearest neighbor approach
This commit is contained in:
parent
683acafa4a
commit
b3b25b905b
8
bin/.gitignore
vendored
Normal file
8
bin/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
!box_in_scene.png
|
||||
!box.png
|
||||
!multi-objs
|
||||
!multi-scene.jpg
|
||||
4
build/.gitignore
vendored
Normal file
4
build/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
1
include/find_object/.gitignore
vendored
Normal file
1
include/find_object/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/Version.h
|
||||
@ -937,7 +937,6 @@ void MainWindow::updateObjects(const QList<int> & ids)
|
||||
if(ids.size())
|
||||
{
|
||||
this->statusBar()->showMessage(tr("Updating %1 objects...").arg(ids.size()));
|
||||
QApplication::processEvents();
|
||||
|
||||
findObject_->updateObjects(ids);
|
||||
|
||||
@ -972,7 +971,6 @@ void MainWindow::updateObjects()
|
||||
void MainWindow::updateVocabulary()
|
||||
{
|
||||
this->statusBar()->showMessage(tr("Updating vocabulary..."));
|
||||
QApplication::processEvents();
|
||||
|
||||
QTime time;
|
||||
time.start();
|
||||
@ -1445,12 +1443,12 @@ void MainWindow::notifyParametersChanged(const QStringList & paramChanged)
|
||||
{
|
||||
this->statusBar()->showMessage(tr("A parameter has changed... \"Update objects\" may be required."));
|
||||
}
|
||||
|
||||
if(parameterChanged && !camera_->isRunning() && !sceneImage_.empty())
|
||||
{
|
||||
this->update(sceneImage_);
|
||||
ui_->label_timeRefreshRate->setVisible(false);
|
||||
}
|
||||
|
||||
ui_->actionCamera_from_video_file->setChecked(!Settings::getCamera_5mediaPath().isEmpty() && !UDirectory::exists(Settings::getCamera_5mediaPath().toStdString()) && !Settings::getCamera_6useTcpCamera());
|
||||
ui_->actionCamera_from_directory_of_images->setChecked(!Settings::getCamera_5mediaPath().isEmpty() && UDirectory::exists(Settings::getCamera_5mediaPath().toStdString()) && !Settings::getCamera_6useTcpCamera());
|
||||
ui_->actionCamera_from_TCP_IP->setChecked(Settings::getCamera_6useTcpCamera());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user