Do not override smallMovement and fastMovement when converting to intermediate nodes to keep GUI visualization color working

This commit is contained in:
matlabbe
2026-05-14 00:03:24 -07:00
parent 24a5346fd6
commit a5541c8fa4
2 changed files with 11 additions and 5 deletions
+8
View File
@@ -2459,6 +2459,14 @@ void MainWindow::processStats(const rtabmap::Statistics & stat)
{
_ui->imageView_source->setBackgroundColor(Qt::darkBlue);
}
else if(smallMovement)
{
_ui->imageView_source->setBackgroundColor(Qt::gray);
}
else if(fastMovement)
{
_ui->imageView_source->setBackgroundColor(Qt::magenta);
}
// PDF AND LIKELIHOOD
if(!stat.posterior().empty() && _ui->dockWidget_posterior->isVisible())