From 637c3429abb382adb724134e06ff97d54551582f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 22 Mar 2015 18:37:52 +1000 Subject: We don't need no stinkin' eo_unrefs. Anymore. Though leave them there, in case they change their mind again. --- src/extantz/ephysics_demo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extantz/ephysics_demo.c') diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c index 7ba1fc8..a7d7c7b 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c @@ -46,7 +46,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) ephysics_body_linear_velocity_set(box_body1, -150, 20, 0); ephysics_body_angular_velocity_set(box_body1, 0, 0, 36); ephysics_body_sleeping_threshold_set(box_body1, 0.1, 0.1); - eo_unref(box1); +// eo_unref(box1); sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); box2 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, @@ -63,7 +63,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) ephysics_body_linear_velocity_set(box_body2, 800, -600, 0); ephysics_body_angular_velocity_set(box_body2, 0, 0, 360); ephysics_body_sleeping_threshold_set(box_body2, 0.1, 0.1); - eo_unref(box2); +// eo_unref(box2); ephysics_world_gravity_set(world, 0, 0, 0); -- cgit v1.1