Hi Sherman,
2008/8/18 sherman wilcox <[EMAIL PROTECTED]> > David, just tested. This seems to do the trick. I did not spend a lot > of time reviewing the changes (I'll leave that for Robert) but it > seems to have addressed the issue. > Nice !! Hi Robert, patch is ready for submission BUG : Forgot to recompute the Position of the Text after change the TextBase::_autoRotateToScreen flag. FIX : call osgText::TextBase::computePosition() after change theTextBase::_autoRotateToScreen flag. BUG : In TextBase::computeBound(), if _autoTransformCache is not valid we don't take it into account when compute bounding volume. This result in invalid scenegraph's BoudingSphere if there are only one osgText::Text drawable in the graph. FIX : Always use _autoTransformCache, even if it is invalid. Invalid mean AutoTransformCache::traversaleNumber == -1. But AutoTransformCache::_matrix is well computed and can be used to compute the BoundingSphere. Fixed file is attached in my previous mail. Cheers David Callu
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
