From adc7f0ff3df49e72cb3e46e72b654e06179b7dc5 Mon Sep 17 00:00:00 2001 From: HyeJin Lee Date: Tue, 26 Mar 2013 20:08:34 +0900 Subject: [PATCH] DCM-948 : AddControlAnimatorEventListener is not working Change-Id: If5451b43e6716575e876253240985245782f6fea --- src/ui/animations/FUiAnim_AnimationManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/animations/FUiAnim_AnimationManager.cpp b/src/ui/animations/FUiAnim_AnimationManager.cpp index 494824d..f328521 100644 --- a/src/ui/animations/FUiAnim_AnimationManager.cpp +++ b/src/ui/animations/FUiAnim_AnimationManager.cpp @@ -744,6 +744,12 @@ _AnimationManager::IsImplicitAnimationEnabled(void) const _TransactionNode* _AnimationManager::GetCurrentTransaction(bool withGroup) const { + // default transaction is always committed. + if (__pCurrentTransaction && __pCurrentTransaction->IsCommitted()) + { + return null; + } + if (withGroup == false) { return __pCurrentTransactionExceptGroup; -- 2.7.4