diff --git a/src/osgDB/ObjectCache.cpp b/src/osgDB/ObjectCache.cpp index 856b3d434..872172395 100644 --- a/src/osgDB/ObjectCache.cpp +++ b/src/osgDB/ObjectCache.cpp @@ -61,9 +61,13 @@ osg::Object* ObjectCache::getFromObjectCache(const std::string& fileName, const { osg::ref_ptr o = itr->first.second; if (o.valid()) + { OSG_DEBUG<<"Found "<getOptionString()<< "' in ObjectCache "<second.first.get(); } else return 0; @@ -78,9 +82,13 @@ osg::ref_ptr ObjectCache::getRefFromObjectCache(const std::string& { osg::ref_ptr o = itr->first.second; if (o.valid()) + { OSG_DEBUG<<"Found "<getOptionString()<< "' in ObjectCache "<second.first.get(); } else return 0;