CloudViewer: Should use refreshView with VTK>8

This commit is contained in:
matlabbe
2025-04-24 15:44:21 -07:00
parent 2c3f1458e7
commit d639fcb8e7
+2 -2
View File
@@ -1629,8 +1629,8 @@ void MainWindow::processOdometry(const rtabmap::OdometryEvent & odom, bool dataI
_cloudViewer->updateCameraTargetPosition(_odometryCorrection*odom.pose());
UDEBUG("Time Update Pose: %fs", time.ticks());
}
// Use update instead of refreshView to avoid high CPU usage and lag
_cloudViewer->update();
_cloudViewer->refreshView();
if(_ui->graphicsView_graphView->isVisible())
{