ecore: remove useless workaround.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 7 May 2012 02:06:57 +0000 (02:06 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 7 May 2012 02:06:57 +0000 (02:06 +0000)
SVN revision: 70834

legacy/ecore/src/lib/ecore/ecore_anim.c

index f1a4d0d..4ced67a 100644 (file)
@@ -274,7 +274,6 @@ ecore_animator_pos_map(double        pos,
          return pos;
 
        case ECORE_POS_MAP_ACCELERATE:
-         if (pos == 1.0) return 1.0;
          pos = 1.0 - _pos_map_sin(M_PI_2 + pos * M_PI_2);
          return pos;