From f8253ca4bdd9eda369fde3c10cc75e3cd2de38b6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 20 Dec 2007 15:40:14 +0000 Subject: [PATCH] Reset the the _lineSpacing to 0.0f to fix the line spacing when word wrapping takes place --- 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 bfc6d9712..682774f20 100644 --- a/src/osgText/TextBase.cpp +++ b/src/osgText/TextBase.cpp @@ -39,7 +39,7 @@ TextBase::TextBase(): _characterSizeMode(OBJECT_COORDS), _maximumWidth(0.0f), _maximumHeight(0.0f), - _lineSpacing(1.0f), + _lineSpacing(0.0f), _alignment(BASE_LINE), _axisAlignment(XY_PLANE), _autoRotateToScreen(false),