Hi again, > > OpenSceneGraph HUD Library 0.1.4 (pre-alpha) > > OK, I'll check that out tomorrow.
This seems to be caused by the stringstream not holding on to the result of its
str() method. The version was fine in osgHUDGetVersion(), but once it returned,
the memory was a jumble of illegible characters. I solved it by making a static
std::string (instead of a static std::stringstream) and returning that. I also
added code so the version string is generated only once, like in OSG, but if
you had good reasons to not do that, it's not significant anyways (for a
function that will likely only be called once in the life of a program).
It now prints the same thing for me as it does for you. Diff attached.
Still trying to figure out what's happening for the other problem. BTW, what
about the images? I asked if it was possible for you to make them available (as
an osgHUD-Data package or a directory in your SVN or whatever)...
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
Version.cpp.diff
Description: Binary data
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

