Added handling of the reading of field properties to a dummy object for cached images to avoid threading issues associated with reusing and modifying an active object.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14469 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -219,6 +219,9 @@ protected:
|
||||
osg::ref_ptr<InputException> _exception;
|
||||
osg::ref_ptr<const osgDB::Options> _options;
|
||||
|
||||
// object to used to read field properties that will be discarded.
|
||||
osg::ref_ptr<osg::Object> _dummyReadObject;
|
||||
|
||||
// store here to avoid a new and a leak in InputStream::decompress
|
||||
std::stringstream* _dataDecompress;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user