[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / internal / update / animation / scene-graph-animator.h
old mode 100644 (file)
new mode 100755 (executable)
index 13c4d07..cbf0842
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_SCENE_GRAPH_ANIMATOR_H__
-#define __DALI_INTERNAL_SCENE_GRAPH_ANIMATOR_H__
+#ifndef DALI_INTERNAL_SCENE_GRAPH_ANIMATOR_H
+#define DALI_INTERNAL_SCENE_GRAPH_ANIMATOR_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -18,6 +18,9 @@
  *
  */
 
+// EXTERNAL INCLUDES
+#include <cmath>
+
 // INTERNAL INCLUDES
 #include <dali/public-api/animation/alpha-function.h>
 #include <dali/public-api/animation/animation.h>
@@ -516,6 +519,11 @@ public:
       progress = SetProgress( progress );
     }
 
+    if( mPropertyOwner )
+    {
+      mPropertyOwner->SetPropertyDirty( true );
+    }
+
     float alpha = ApplyAlphaFunction( progress );
 
     // PropertyType specific part
@@ -1213,4 +1221,4 @@ struct PathRotationFunctor : public AnimatorFunctionBase
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_SCENE_GRAPH_ANIMATOR_H__
+#endif // DALI_INTERNAL_SCENE_GRAPH_ANIMATOR_H