projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468d3cf
)
ephysics: fix camera move callback call
author
Bruno Dilly
<bdilly@profusion.mobi>
Tue, 4 Sep 2012 22:42:10 +0000
(22:42 +0000)
committer
Bruno Dilly
<bdilly@profusion.mobi>
Tue, 4 Sep 2012 22:42:10 +0000
(22:42 +0000)
it should be called after moved flag was set to false
otherwise callback functions moving camera won't work correctly
SVN revision: 76152
legacy/ephysics/src/lib/ephysics_world.cpp
patch
|
blob
|
history
diff --git
a/legacy/ephysics/src/lib/ephysics_world.cpp
b/legacy/ephysics/src/lib/ephysics_world.cpp
index
db5b443
..
048f46b
100644
(file)
--- a/
legacy/ephysics/src/lib/ephysics_world.cpp
+++ b/
legacy/ephysics/src/lib/ephysics_world.cpp
@@
-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);
}