Hi Robert, The change "@11785 Refactored the handling of readImage/writeImage/readObject/writeObject to …" leads to a crash, when a ".osgb" file is read, that was written with the revision before!
In InputStream::readImage() the readObject() call was replaced by readObjectFields(), which does less reading from the stream. The later does not read the classname and UniqueID, as readObjects() does. This mixes up the further reading from the stream and leads in a crash. You can reproduce the behaviour by trying to start the osgviewer with the attached file "simple_cube_opt.osgb". I think the ".osgb" file format should be downward compatible with the old revisions, shouldn't it?? --Alex ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32261#32261 Attachments: http://forum.openscenegraph.org//files/simple_cube_771.zip _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
