Re-enabled the fallback compute of bounding volume.

This commit is contained in:
Robert Osfield 2011-03-15 12:48:40 +00:00
parent fbc8c9ffce
commit 0870d4c997

View File

@ -279,7 +279,7 @@ osg::BoundingBox TextBase::computeBound() const
if (_autoTransformCache[i]._traversalNumber<0 && (_characterSizeMode!=OBJECT_COORDS || _autoRotateToScreen))
{
// _autoTransformCache is not valid so don't take it into accoumt when compute bounding volume.
#if 0
#if 1
// so fallback to estimating the bounding box size by assuming a scale of 1
// but might cause problems due to small feature culling...
osg::Matrix matrix;