mirror of https://github.com/axmolengine/axmol.git
Removing setting ignoreAnchorPoint for child CCB files. Was causing a bug with positioning
This commit is contained in:
parent
8d14627dd8
commit
3d356d0a8f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue