From f6d092957f91963ff250d0f1ca88eb42aeacd11a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 Aug 2006 06:20:28 +0000 Subject: [PATCH] Commented out the _textBB contribution of outline/backdrops to fix bounding box problem. --- src/osgText/Text.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 2176fa015..e27cc6d11 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -1037,6 +1037,10 @@ void Text::computeBackdropPositions(unsigned int contextID) const } } +#if 0 + // note, commenting out right now as its causing bounding box problems + // which haven't yet been located and fixed. Robert Osfield, August 2006. + // Finally, we have one more issue to deal with. // Now that the text takes more space, we need // to adjust the size of the bounding box. @@ -1154,6 +1158,7 @@ void Text::computeBackdropPositions(unsigned int contextID) const break; } } +#endif } void Text::computeColorGradients() const