Fixed setThreadModel method so that is doesn't try to set up threading unless

the viewer is realized
This commit is contained in:
Robert Osfield
2007-02-08 12:20:40 +00:00
parent b3b420de5d
commit 9eb4beea52

View File

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