Merge pull request #457 from PissedCapslock/patch-3

Typo in comment
This commit is contained in:
OpenSceneGraph git repository 2018-01-27 09:16:46 +00:00 committed by GitHub
commit 28245e252c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -856,7 +856,7 @@ osg::ref_ptr<osg::Image> InputStream::readImage(bool readFromExternal)
if (loadedFromCache) if (loadedFromCache)
{ {
// we don't want to overwrite the properties of the image in the cache as this could cause theading problems if the object is currently being used // we don't want to overwrite the properties of the image in the cache as this could cause threading problems if the object is currently being used
// so we read the properties from the file into a dummy object and discard the changes. // so we read the properties from the file into a dummy object and discard the changes.
osg::ref_ptr<osg::Object> temp_obj = readObjectFields("osg::Object", id, _dummyReadObject.get() ); osg::ref_ptr<osg::Object> temp_obj = readObjectFields("osg::Object", id, _dummyReadObject.get() );
_identifierMap[id] = image; _identifierMap[id] = image;