From edd4b2fc846a5b6bf85f6aff7fbf1813d3527262 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 9 Feb 2010 19:30:52 +0000 Subject: [PATCH] Added enabling of threadsafe ref/unref in FileCache. --- src/osgDB/FileCache.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgDB/FileCache.cpp b/src/osgDB/FileCache.cpp index 4d25bd4e6..88526cdd5 100644 --- a/src/osgDB/FileCache.cpp +++ b/src/osgDB/FileCache.cpp @@ -24,6 +24,7 @@ using namespace osgDB; // FileCache // FileCache::FileCache(const std::string& path): + osg::Referenced(true), _fileCachePath(path) { NOTIFY(osg::INFO)<<"Constructed FileCache : "<