mirror of https://github.com/axmolengine/axmol.git
* added default value for _batchNode in CCSprite
This commit is contained in:
parent
76fffb9402
commit
d242d79443
|
@ -262,6 +262,7 @@ Sprite::Sprite(void)
|
|||
: _shouldBeHidden(false)
|
||||
, _texture(nullptr)
|
||||
, _insideBounds(true)
|
||||
, _batchNode(nullptr)
|
||||
{
|
||||
#if CC_SPRITE_DEBUG_DRAW
|
||||
_debugDrawNode = DrawNode::create();
|
||||
|
|
Loading…
Reference in New Issue