ephysics: set proper geometry when setting an object to a face

Summary:
It was missing a break statement in a switch.

Fixes T5547

@fix

Reviewers: cedric

Subscribers: jpeg

Maniphest Tasks: T5547

Differential Revision: https://phab.enlightenment.org/D4941

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Bruno Dilly 2017-06-06 14:00:27 -07:00 committed by Cedric BAIL
parent 1aa2b6de14
commit 30b8c1ce82
1 changed files with 2 additions and 0 deletions

View File

@ -4688,10 +4688,12 @@ _ephysics_body_box_face_evas_object_set(EPhysics_Body *body, EPhysics_Body_Face
case EPHYSICS_BODY_BOX_FACE_LEFT:
_ephysics_body_geometry_set(body, bx, by, bz,
bw, obj_h, obj_w, rate);
break;
case EPHYSICS_BODY_BOX_FACE_TOP:
case EPHYSICS_BODY_BOX_FACE_BOTTOM:
_ephysics_body_geometry_set(body, bx, by, bz,
obj_w, bh, obj_h, rate);
break;
default:
break;
}