Merge pull request #15287 from zilongshanren/fix-label-issues

fix system font dirty issue
This commit is contained in:
zilongshanren 2016-03-22 13:08:49 +08:00
commit 3a600e3d4a
1 changed files with 1 additions and 0 deletions

View File

@ -630,6 +630,7 @@ bool Label::setBMFontFilePath(const std::string& bmfontFilePath, const Vec2& ima
_bmFontPath = bmfontFilePath;
_currentLabelType = LabelType::BMFONT;
_systemFontDirty = false;
setFontAtlas(newAtlas);
return true;