forked from enlightenment/efl
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:
parent
468d3cf25b
commit
11891001f2
|
@ -190,9 +190,9 @@ _ephysics_world_tick_cb(btDynamicsWorld *dynamics_world, btScalar timeStep)
|
||||||
|
|
||||||
if (camera_moved)
|
if (camera_moved)
|
||||||
{
|
{
|
||||||
|
ephysics_camera_moved_set(world->camera, EINA_FALSE);
|
||||||
_ephysics_world_event_callback_call(
|
_ephysics_world_event_callback_call(
|
||||||
world, EPHYSICS_CALLBACK_WORLD_CAMERA_MOVED, world->camera);
|
world, EPHYSICS_CALLBACK_WORLD_CAMERA_MOVED, world->camera);
|
||||||
ephysics_camera_moved_set(world->camera, EINA_FALSE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue