BMFont need to refresh size by refresh the string

This commit is contained in:
Liam 2015-01-19 17:07:15 +08:00
parent a456a3b917
commit d38b802780
1 changed files with 4 additions and 4 deletions

View File

@ -94,10 +94,10 @@ void TextBMFont::setFntFile(const std::string& fileName)
void TextBMFont::setString(const std::string& value)
{
if (value == _labelBMFontRenderer->getString())
{
return;
}
//if (value == _labelBMFontRenderer->getString())
//{
// return;
//}
_stringValue = value;
if (!_fntFileHasInit)
{