mirror of https://github.com/axmolengine/axmol.git
Fixed the position of physics body is wrong when the position of parent node has been change.
This commit is contained in:
parent
503c46a9e8
commit
5af895b24d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue