Removed default in AnimatorBase::ApplyAlphaFunction switch statement to ensure that... 35/47035/1
authorChu Hoang <c.hoang@samsung.com>
Wed, 26 Aug 2015 16:17:39 +0000 (17:17 +0100)
committerChu Hoang <c.hoang@samsung.com>
Fri, 28 Aug 2015 09:18:59 +0000 (10:18 +0100)
Change-Id: I43682ce8b37829b00c277b4d274a1eff9d63517e

dali/internal/update/animation/scene-graph-animator.h

index 8b30afd4a3a04fbf48646f1aa86f11741cbd8c08..e96d38953142f75d699365cee4ff73a09bf8d848 100644 (file)
@@ -221,8 +221,10 @@ public:
           result = 1.0f + progress * progress * ( ( sqrt2 + 1.0f ) * progress + sqrt2 );
           break;
         }
-        default:
+        case AlphaFunction::COUNT:
+        {
           break;
+        }
       }
     }
     else if(  alphaFunctionMode == AlphaFunction::CUSTOM_FUNCTION )