Made Repeater work correctly for creating Box2D bodies
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Mon, 22 Nov 2010 20:04:14 +0000 (21:04 +0100)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Mon, 22 Nov 2010 20:24:40 +0000 (21:24 +0100)
commit43ed7f63e1dd6ac558b54b2e224cc3104a53f73d
treebced53b3ed6702261440432b80f2838aca986052
parentf4a343f752fc2a53e4b911f2a29b0209970a25a1
Made Repeater work correctly for creating Box2D bodies

This required reversing the body/world relationship, since the Repeater
creates the bodies outside of the world, and then reparents them into
the world. This change should also allow for dynamic creation of bodies
in general.
box2dbody.cpp
box2dbody.h
box2dworld.cpp
box2dworld.h
examples/boxes/boxes.qml