fixed incorrect initial value of label type.

This commit is contained in:
Dhilan007 2014-03-12 11:06:51 +08:00
parent aefafdbe77
commit 6f165bb592
1 changed files with 4 additions and 3 deletions

View File

@ -272,6 +272,7 @@ Label::Label(FontAtlas *atlas, TextHAlignment alignment, bool useDistanceField,b
, _currNumLines(-1)
, _textSprite(nullptr)
, _contentDirty(false)
, _currentLabelType(LabelType::STRING_TEXTURE)
{
_cascadeColorEnabled = true;
_batchNodes.push_back(this);