Fixed setThreadModel method so that is doesn't try to set up threading unless
the viewer is realized
This commit is contained in:
@@ -706,7 +706,7 @@ void Viewer::setThreadingModel(ThreadingModel threadingModel)
|
||||
|
||||
_threadingModel = threadingModel;
|
||||
|
||||
if (_threadingModel!=SingleThreaded) startThreading();
|
||||
if (isRealized() && _threadingModel!=SingleThreaded) startThreading();
|
||||
}
|
||||
|
||||
void Viewer::setUpThreading()
|
||||
|
||||
Reference in New Issue
Block a user