From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well."
This commit is contained in:
@@ -26,6 +26,9 @@ static std::string s_lastSchema;
|
||||
InputStream::InputStream( const osgDB::Options* options )
|
||||
: _fileVersion(0), _useSchemaData(false), _forceReadingImage(false), _dataDecompress(0)
|
||||
{
|
||||
BEGIN_BRACKET.set( "{", +INDENT_VALUE );
|
||||
END_BRACKET.set( "}", -INDENT_VALUE );
|
||||
|
||||
if ( !options ) return;
|
||||
_options = options;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user