CloudViewer: fixed opengl not refreshed on update (VTK9). Fixed File Explorer hanging (Qt 5.12). Fixed backup database not deleted after a recovery.

This commit is contained in:
matlabbe
2021-06-18 12:43:08 -04:00
parent 8d2dbe32c4
commit d75cc04ad2
10 changed files with 88 additions and 67 deletions

View File

@@ -1544,7 +1544,7 @@ void MainWindow::processOdometry(const rtabmap::OdometryEvent & odom, bool dataI
_cloudViewer->updateCameraTargetPosition(_odometryCorrection*odom.pose());
UDEBUG("Time Update Pose: %fs", time.ticks());
}
_cloudViewer->update();
_cloudViewer->refreshView();
if(_ui->graphicsView_graphView->isVisible())
{
@@ -3275,7 +3275,7 @@ void MainWindow::updateMapCloud(
}
UDEBUG("");
_cloudViewer->update();
_cloudViewer->refreshView();
UDEBUG("");
}
@@ -4189,7 +4189,7 @@ void MainWindow::updateNodeVisibility(int nodeId, bool visible)
}
}
_cloudViewer->update();
_cloudViewer->refreshView();
}
}