forked from enlightenment/efl
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:
parent
1aa2b6de14
commit
30b8c1ce82
|
@ -4688,10 +4688,12 @@ _ephysics_body_box_face_evas_object_set(EPhysics_Body *body, EPhysics_Body_Face
|
||||||
case EPHYSICS_BODY_BOX_FACE_LEFT:
|
case EPHYSICS_BODY_BOX_FACE_LEFT:
|
||||||
_ephysics_body_geometry_set(body, bx, by, bz,
|
_ephysics_body_geometry_set(body, bx, by, bz,
|
||||||
bw, obj_h, obj_w, rate);
|
bw, obj_h, obj_w, rate);
|
||||||
|
break;
|
||||||
case EPHYSICS_BODY_BOX_FACE_TOP:
|
case EPHYSICS_BODY_BOX_FACE_TOP:
|
||||||
case EPHYSICS_BODY_BOX_FACE_BOTTOM:
|
case EPHYSICS_BODY_BOX_FACE_BOTTOM:
|
||||||
_ephysics_body_geometry_set(body, bx, by, bz,
|
_ephysics_body_geometry_set(body, bx, by, bz,
|
||||||
obj_w, bh, obj_h, rate);
|
obj_w, bh, obj_h, rate);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue