Re: [osg-users] osg::Text setText - changing text during rendering - What is the correct way to change the text in osgText::Text?

2013-06-12 Thread Pjotr Svetachov
Hi,

Have you set the datavariance of the text to dynamic?

Cheers,
Pjotr

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





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


Re: [osg-users] osg::Text setText - changing text during rendering - What is the correct way to change the text in osgText::Text?

2013-06-12 Thread Peter Bako
Hello Robert and Pjotr.
Actually, I was sure that the data variance is set to Dynamic. But now after a 
closer look I've found out that instead of 
text-setDataVariance(DYNAMIC); 
I wrote 
this-setDataVariance(DYNAMIC);

Thanks to you I've found the problem!
Have a nice day and thank you very much!

Peter

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





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