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:
parent
5cb486f7c5
commit
b141c0f63e
@ -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" )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user