cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=30b8c1ce82c91cc9624fa76d197f3c015cba438b

commit 30b8c1ce82c91cc9624fa76d197f3c015cba438b
Author: Bruno Dilly <[email protected]>
Date:   Tue Jun 6 14:00:27 2017 -0700

    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 <[email protected]>
---
 src/lib/ephysics/ephysics_body.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/ephysics/ephysics_body.cpp 
b/src/lib/ephysics/ephysics_body.cpp
index 7c4754b443..58a35b316c 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
       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;
      }

-- 


Reply via email to