Hello Sherman,
This "fix" is hereby withdrawn. This fix did more harm than good and
is clearly wrong. However, there's still an odd issue that I don't
quite understand, but I suspect it's either an obscure corner case
that most other won't come across or I'm simply mis-understanding
something. [...]
Note: set a breakpoint in textbase.cpp in the osg::BoundingBox
TextBase::computeBound() const function - you'll see that if
autorotate is enabled an invalid bounding sphere is calculated which
is ultimately passed to the manipulator. This results in the end-user
not being able to see any text. Disabling auto-rotate corrects the
issue.
The code in TextBase is definitely fishy, as the _autoTransformCache list is never filled with items, only resized and it is explicitly used when auto-rotate-to-screen is active.

Perhaps you can contact David Callu, who I think is the original author of the osgText code.

Regards,
Paul

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

Reply via email to