On Wed, 2008-01-16 at 09:05 -0500, Jean-Sebastien Guay wrote:
> 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)...

Once I get serious textured examples I'll certainly put them in SVN.
Right now they're just randome images off my machine, and it would be
safe to replace them with anything out of the osgdata SVN project
itself. In fact, I think I'll do that right now. :)

> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay     [EMAIL PROTECTED]
>                         http://whitestar02.webhop.org/
> _______________________________________________ osg-users mailing list 
> osg-users@lists.openscenegraph.org 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to