mirror of https://github.com/axmolengine/axmol.git
issue #13: add initialization of m_bRecursiveDirty
This commit is contained in:
parent
6571dbafee
commit
70bf71e01d
|
@ -150,7 +150,7 @@ CCSprite* CCSprite::spriteWithSpriteSheet(CCSpriteSheet *pSpriteSheet, CGRect re
|
|||
|
||||
CCSprite* CCSprite::init(void)
|
||||
{
|
||||
m_bDirty = false;
|
||||
m_bDirty = = m_bRecursiveDirty = false;
|
||||
|
||||
// by default use "Self Render".
|
||||
// if the sprite is added to an SpriteSheet, then it will automatically switch to "SpriteSheet Render"
|
||||
|
|
Loading…
Reference in New Issue