Merge pull request #159 from LaurensVoerman/Affinity3b

re-assign thread affinity at the end of setThreadingModel()
This commit is contained in:
OpenSceneGraph git repository 2016-10-17 16:36:42 +01:00 committed by GitHub
commit 26a313d549

View File

@ -204,7 +204,7 @@ void ViewerBase::setThreadingModel(ThreadingModel threadingModel)
_threadingModel = threadingModel;
if (isRealized() && _threadingModel!=SingleThreaded) startThreading();
setUpThreading();
}
ViewerBase::ThreadingModel ViewerBase::suggestBestThreadingModel()