Removed redundent Referenced::s/getThreadSafeReferenceCounting() and associated static and env vars as there are now inapprorpiate and no longer supported

This commit is contained in:
Robert Osfield
2016-08-26 17:59:30 +01:00
parent f9172a000e
commit 11ddd53eb4
4 changed files with 2 additions and 49 deletions

View File

@@ -307,9 +307,6 @@ void ViewerBase::startThreading()
return;
}
// using multi-threading so make sure that new objects are allocated with thread safe ref/unref
osg::Referenced::setThreadSafeReferenceCounting(true);
Scenes scenes;
getScenes(scenes);
for(Scenes::iterator scitr = scenes.begin();