Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method
This commit is contained in:
parent
b3a1b30ab3
commit
b4b0e4f069
@ -494,7 +494,7 @@ public:
|
|||||||
|
|
||||||
QGridLayout* grid = new QGridLayout;
|
QGridLayout* grid = new QGridLayout;
|
||||||
grid->setMargin(0);
|
grid->setMargin(0);
|
||||||
grid->addWidget(graphicsWindow->getGraphWidget(), 0, 0);
|
grid->addWidget(graphicsWindow->getGLWidget(), 0, 0);
|
||||||
setLayout(grid);
|
setLayout(grid);
|
||||||
|
|
||||||
_viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded);
|
_viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded);
|
||||||
|
Loading…
Reference in New Issue
Block a user