stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=94978a35679fe97c6ff30b8d3ad369e2584a555d

commit 94978a35679fe97c6ff30b8d3ad369e2584a555d
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Wed Dec 9 01:22:38 2015 +0100

    eina_quaternion: fix ein matrix type comparison
    
    Fixing a bug that I fixed before. Sadly got introduced again. See
    a486671bce76e405a8d7261f19b0f67ca678f0c4 for the details.
    
    CID: 1341769
---
 src/lib/eina/eina_quaternion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_quaternion.c b/src/lib/eina/eina_quaternion.c
index 73649c0..b9b73e2 100644
--- a/src/lib/eina/eina_quaternion.c
+++ b/src/lib/eina/eina_quaternion.c
@@ -1084,7 +1084,7 @@ eina_quaternion_transform(Eina_Quaternion *out, const 
Eina_Quaternion *v, const
 {
    Eina_Quaternion tmp;
 
-   if (eina_matrix4_type_get(m) & EINA_MATRIX_TYPE_IDENTITY)
+   if (eina_matrix4_type_get(m) == EINA_MATRIX_TYPE_IDENTITY)
      {
         eina_quaternion_copy(out, v);
         return;

-- 


Reply via email to