fix mutil thread crash
This commit is contained in:
parent
bbec5d9598
commit
df8871e09e
@ -21,7 +21,7 @@ OsgViewer::OsgViewer(QObject* parent) noexcept
|
||||
LOG_INFO("actor, self={}", fmt::ptr(this));
|
||||
compositeViewer_->setKeyEventSetsDone(0);
|
||||
osgEarth::initialize();
|
||||
//compositeViewer_->setThreadingModel(osgViewer::ViewerBase::ThreadingModel::SingleThreaded);
|
||||
compositeViewer_->setThreadingModel(osgViewer::ViewerBase::ThreadingModel::SingleThreaded);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user