Merge pull request #3988 from lite3/develop

closed #3060: The Node's anchor point was changed after being added to ScrollView.
This commit is contained in:
James Chen 2013-10-24 03:01:49 -07:00
commit d8683ef705
1 changed files with 0 additions and 2 deletions

View File

@ -469,8 +469,6 @@ void ScrollView::updateInset()
*/
void ScrollView::addChild(Node * child, int zOrder, int tag)
{
child->ignoreAnchorPointForPosition(false);
child->setAnchorPoint(Point(0.0f, 0.0f));
if (_container != child) {
_container->addChild(child, zOrder, tag);
} else {