Changeset 13191 for OpenSceneGraph/trunk/src/osgDB/Registry.cpp
- Timestamp:
- 05/25/13 12:09:23 (11 hours ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgDB/Registry.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgDB/Registry.cpp
r13156 r13191 1300 1300 useObjectCache=options ? (options->getObjectCacheHint()&cacheHint)!=0: false; 1301 1301 } 1302 1302 1303 if (useObjectCache) 1303 1304 { … … 1308 1309 if (oitr!=_objectCache.end()) 1309 1310 { 1310 OSG_ NOTIFY(INFO)<<"returning cached instanced of "<<file<<std::endl;1311 OSG_INFO<<"returning cached instanced of "<<file<<std::endl; 1311 1312 if (readFunctor.isValid(oitr->second.first.get())) return ReaderWriter::ReadResult(oitr->second.first.get(), ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); 1312 1313 else return ReaderWriter::ReadResult("Error file does not contain an osg::Object"); … … 1318 1319 { 1319 1320 // update cache with new entry. 1320 OSG_ NOTIFY(INFO)<<"Adding to object cache "<<file<<std::endl;1321 OSG_INFO<<"Adding to object cache "<<file<<std::endl; 1321 1322 addEntryToObjectCache(file,rr.getObject()); 1322 1323 } 1323 1324 else 1324 1325 { 1325 OSG_ NOTIFY(INFO)<<"No valid object found for "<<file<<std::endl;1326 OSG_INFO<<"No valid object found for "<<file<<std::endl; 1326 1327 } 1327 1328
