From a15a39095fefbcb49487f8ee06369c624745713f Mon Sep 17 00:00:00 2001 From: zilongshanren Date: Mon, 21 Mar 2016 22:25:12 +0800 Subject: [PATCH] fix system font dirty issue --- cocos/2d/CCLabel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/2d/CCLabel.cpp b/cocos/2d/CCLabel.cpp index 4b87a7a713..1a24a90f6c 100644 --- a/cocos/2d/CCLabel.cpp +++ b/cocos/2d/CCLabel.cpp @@ -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;