Changed the way QML Body item properties are synchronized to Box2D
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Tue, 21 Dec 2010 14:29:20 +0000 (15:29 +0100)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Tue, 21 Dec 2010 14:33:03 +0000 (15:33 +0100)
commit88f83158dc0780e6d3359bbec48939f41583fc2e
treeaeb218bb3772ca46d67e9e26771ce435fffa87cf
parentc48149ec618e2295738815cff4fd656cd1ac38c4
Changed the way QML Body item properties are synchronized to Box2D

Now using geometryChanged and rotationChanged rather than relying on
itemChange. This is supposed to be a little more efficient (at least for
position changes) since the values don't pass through QVariant (and it
also avoids an unneeded call with ItemPositionChange).
box2dbody.cpp
box2dbody.h