summaryrefslogtreecommitdiff
path: root/src/lib/ephysics
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2017-06-06 14:00:27 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-06-06 14:00:33 -0700
commit30b8c1ce82c91cc9624fa76d197f3c015cba438b (patch)
tree62e25a3c1698806e91604166b7cfc024f5fd72d6 /src/lib/ephysics
parent1aa2b6de14ebe20c53d49274c64ebc2a84b4e5c7 (diff)
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>
Diffstat (limited to 'src/lib/ephysics')
-rw-r--r--src/lib/ephysics/ephysics_body.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ephysics/ephysics_body.cpp b/src/lib/ephysics/ephysics_body.cpp
index 7c4754b..58a35b3 100644
--- a/src/lib/ephysics/ephysics_body.cpp
+++ b/src/lib/ephysics/ephysics_body.cpp
@@ -4688,10 +4688,12 @@ _ephysics_body_box_face_evas_object_set(EPhysics_Body *body, EPhysics_Body_Face
4688 case EPHYSICS_BODY_BOX_FACE_LEFT: 4688 case EPHYSICS_BODY_BOX_FACE_LEFT:
4689 _ephysics_body_geometry_set(body, bx, by, bz, 4689 _ephysics_body_geometry_set(body, bx, by, bz,
4690 bw, obj_h, obj_w, rate); 4690 bw, obj_h, obj_w, rate);
4691 break;
4691 case EPHYSICS_BODY_BOX_FACE_TOP: 4692 case EPHYSICS_BODY_BOX_FACE_TOP:
4692 case EPHYSICS_BODY_BOX_FACE_BOTTOM: 4693 case EPHYSICS_BODY_BOX_FACE_BOTTOM:
4693 _ephysics_body_geometry_set(body, bx, by, bz, 4694 _ephysics_body_geometry_set(body, bx, by, bz,
4694 obj_w, bh, obj_h, rate); 4695 obj_w, bh, obj_h, rate);
4696 break;
4695 default: 4697 default:
4696 break; 4698 break;
4697 } 4699 }