Hello Wang Rui,

The bug seems to be caused because of the modification in rev 12669,
which uses unget() instead of seekg() to solve the problem of unix
file endings. Roll back and convert the .osg file to .osgt under
Windows and you may view it smoothly. But the trunk version could
neither view these files (including dumptruck, lz and spaceship AFAIK)
with unix nor windows endings.

Argh, sorry my "fix" (rather a workaround) caused this problem...

But you never say what exactly the problem is that unget() causes... Since cow.osgt seems to work, what is different in these files?

Is it possible that there is another solution for replacing the
seekg() function?

I don't know enough about stream i/o to be able to answer. Sorry.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to