From abdf26f2c12d8ba2ef9b1cf7dfd84bf9ab7cf107 Mon Sep 17 00:00:00 2001 From: "khee85.lee" Date: Fri, 25 Oct 2013 13:31:09 +0900 Subject: [PATCH] Add condition to call OnTickOccurred() in TransactionNode::OnAnimationTick() Change-Id: I21790e9f315060fb77d3bf62471d0f0fe3e26639 Signed-off-by: khee85.lee --- src/ui/animations/FUiAnim_TransactionNode.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/animations/FUiAnim_TransactionNode.cpp b/src/ui/animations/FUiAnim_TransactionNode.cpp index 2331406..9333314 100644 --- a/src/ui/animations/FUiAnim_TransactionNode.cpp +++ b/src/ui/animations/FUiAnim_TransactionNode.cpp @@ -1684,6 +1684,11 @@ _TransactionNode::OnAnimationTick(unsigned int tick) // Send start, repeat notification pAnimationData->NotifyAnimationStarted(); + if(pAnimationData->IsRemoved()) + { + continue; + } + pAnimationData->OnTickOccurred(*pTarget, currentValue); if (__status == _STATUS_REPEAT || __status == _STATUS_FINISH || pAnimationData->GetStatus() == _AnimationData::_STATUS_FINISH) -- 2.7.4