ephysics: fix camera move callback call

it should be called after moved flag was set to false
otherwise callback functions moving camera won't work correctly



SVN revision: 76152
This commit is contained in:
Bruno Dilly 2012-09-04 22:42:10 +00:00
parent 468d3cf25b
commit 11891001f2
1 changed files with 1 additions and 1 deletions

View File

@ -190,9 +190,9 @@ _ephysics_world_tick_cb(btDynamicsWorld *dynamics_world, btScalar timeStep)
if (camera_moved)
{
ephysics_camera_moved_set(world->camera, EINA_FALSE);
_ephysics_world_event_callback_call(
world, EPHYSICS_CALLBACK_WORLD_CAMERA_MOVED, world->camera);
ephysics_camera_moved_set(world->camera, EINA_FALSE);
}