Fixed the position of physics body is wrong when the position of parent node has been change.

This commit is contained in:
Wenhai Lin 2015-02-27 17:55:25 +08:00
parent 503c46a9e8
commit 5af895b24d
1 changed files with 0 additions and 6 deletions

View File

@ -300,12 +300,6 @@ void Director::drawScene()
_runningScene->render(_renderer);
_eventDispatcher->dispatchEvent(_eventAfterVisit);
#if CC_USE_PHYSICS
if(physicsWorld)
{
physicsWorld->_updateBodyTransform = false;
}
#endif
}
// draw the notifications node