Removing setting ignoreAnchorPoint for child CCB files. Was causing a bug with positioning

This commit is contained in:
Rohan Kuruvilla 2013-05-07 14:51:21 -07:00
parent 8d14627dd8
commit 3d356d0a8f
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ CCNode * CCBReader::readNodeGraph(CCNode * pParent) {
embeddedNode->setScaleY(ccbFileNode->getScaleY());
embeddedNode->setTag(ccbFileNode->getTag());
embeddedNode->setVisible(true);
embeddedNode->ignoreAnchorPointForPosition(ccbFileNode->isIgnoreAnchorPointForPosition());
//embeddedNode->ignoreAnchorPointForPosition(ccbFileNode->isIgnoreAnchorPointForPosition());
mActionManager->moveAnimationsFromNode(ccbFileNode, embeddedNode);