[osg-users] Error with InputStream reading osgb files

Robert Osfield robert.osfield at gmail.com
Mon Jun 12 08:49:03 PDT 2017


Hi Riccardo,

On 12 June 2017 at 12:35, Riccardo Corsi <riccardo.corsi at kairos3d.it> wrote:
> from within the BinaryStreamOperator we can get the file version with
> getInputStream()->getFileVersion()
> and decide to read/write the block size on 4 or 8 bytes accordingly.
>
> For the file version check would you use > 148 (i.e. osg 3.5.6) ?

I would bump the SO version number specifically for this addtion, so
bump it to 149 at the same time as merging the change this way we
avoid any chance that there might be problem .osgb's created.

Robert



More information about the osg-users mailing list