From 0870d4c997b79247a3388198901fcee7fefc3e52 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 15 Mar 2011 12:48:40 +0000 Subject: [PATCH] Re-enabled the fallback compute of bounding volume. --- src/osgText/TextBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgText/TextBase.cpp b/src/osgText/TextBase.cpp index 5ac80d550..6affba6d5 100644 --- a/src/osgText/TextBase.cpp +++ b/src/osgText/TextBase.cpp @@ -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;