Skip to content

Commit cac1daa

Browse files
committed
Node visibility flag not honoured on CCBFile child nodes spritebuilder/SpriteBuilder#659
1 parent 5f68099 commit cac1daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d-ui/CCBReader/CCBReader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ - (CCNode*) readNodeGraphParent:(CCNode*)parent
13391339
embeddedNode.scaleX = ccbFileNode.scaleX;
13401340
embeddedNode.scaleY = ccbFileNode.scaleY;
13411341
embeddedNode.name = ccbFileNode.name;
1342-
embeddedNode.visible = YES;
1342+
embeddedNode.visible = ccbFileNode.visible;
13431343
//embeddedNode.ignoreAnchorPointForPosition = ccbFileNode.ignoreAnchorPointForPosition;
13441344

13451345
[animationManager moveAnimationsFromNode:ccbFileNode toNode:embeddedNode];

0 commit comments

Comments
 (0)