Reset the the _lineSpacing to 0.0f to fix the line spacing when word wrapping takes place

This commit is contained in:
Robert Osfield 2007-12-20 15:40:14 +00:00
parent 53be383843
commit f8253ca4bd

View File

@ -39,7 +39,7 @@ TextBase::TextBase():
_characterSizeMode(OBJECT_COORDS), _characterSizeMode(OBJECT_COORDS),
_maximumWidth(0.0f), _maximumWidth(0.0f),
_maximumHeight(0.0f), _maximumHeight(0.0f),
_lineSpacing(1.0f), _lineSpacing(0.0f),
_alignment(BASE_LINE), _alignment(BASE_LINE),
_axisAlignment(XY_PLANE), _axisAlignment(XY_PLANE),
_autoRotateToScreen(false), _autoRotateToScreen(false),