Hi,

I changed the code logic in my app and got rid of the camera creation. Now the 
font is loaded and displayed :)

As for my "various modifications" to osgtext, it's just a pointer check. I 
mean, the pointer shouldn't be NULL becuase without the check it is returned. 
But then if I write down that simple check C++ thinks the font pointer is NULL, 
hence my "throw" executes.

I'm just curious in that last part, as I can't see the reason why the font 
pointer can be valid and invalid at the same time (I will cal it Schroedinger's 
pointer). I'm missing something, obviously, and probably is a basic thing, but 
right now I just don't get it.

Anyway, the font displaying problem is solved.
... 

Thanks and cheers,
Andrés.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61164#61164





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to