Changed the prototype from NULL to osg::DummyObject to address a bug in reading .osgt + .osgx where an image is written out but fails to read the file causes subsequent parts of the file to be mis-read

This commit is contained in:
Robert Osfield 2016-01-22 10:09:00 +00:00
parent 5cb486f7c5
commit b141c0f63e

View File

@ -29,7 +29,7 @@ static bool writeUserData( osgDB::OutputStream& os, const osg::Object& obj )
}
REGISTER_OBJECT_WRAPPER( Object,
/*new osg::Object*/NULL,
new osg::DummyObject,
osg::Object,
"osg::Object" )
{