From 3ab3e668f1a32eb2f626288cfe6d045aa0849525 Mon Sep 17 00:00:00 2001 From: Bongjoo Seo Date: Thu, 4 Apr 2013 14:34:29 +0900 Subject: [PATCH] Fixed a prevent issue Change-Id: Ifdd36f2103f1d4b4c0f5c8b211cbc42f92a0f97b Signed-off-by: Bongjoo Seo --- src/ui/animations/FUiAnim_AnimationManager.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ui/animations/FUiAnim_AnimationManager.cpp b/src/ui/animations/FUiAnim_AnimationManager.cpp index a24c6f4..d8a0153 100644 --- a/src/ui/animations/FUiAnim_AnimationManager.cpp +++ b/src/ui/animations/FUiAnim_AnimationManager.cpp @@ -815,12 +815,13 @@ _AnimationManager::ProcessCommittedTransaction(void) for(int index = 0; index < committedCount; index++) { pNode = __committedList.GetNodeAt(index); + if (pNode) + { + pNode->DrawTargets(); + pNode->SetChildrenBaseTime(_AnimationTime::GetTime()); - pNode->DrawTargets(); - pNode->SetChildrenBaseTime(_AnimationTime::GetTime()); - - __pRootTransaction->AddChild(*pNode); - + __pRootTransaction->AddChild(*pNode); + } __committedList.SetAt(null, index); } -- 2.7.4