mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
On macOS the embedded QVTKOpenGLNativeWidget (CameraViewer's cloud view) crashed on first paint: VTK called a null GL function pointer (vtkOpenGLVertexArrayObject::Bind -> 0x0) because no compatible OpenGL context was set. Set QSurfaceFormat::setDefaultFormat( QVTKRenderWidget::defaultFormat()) before constructing QApplication, as the main rtabmap app already does. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>