remove process empty node of commit list
authorHyeJin Lee <hyejin79.lee@samsung.com>
Mon, 18 Mar 2013 16:05:48 +0000 (01:05 +0900)
committerHyeJin Lee <hyejin79.lee@samsung.com>
Mon, 18 Mar 2013 16:05:48 +0000 (01:05 +0900)
Change-Id: I56ffff48e249a8f752de2e48b490ebbeb1b53f37

src/ui/animations/FUiAnim_AnimationManager.cpp

index 4e86dd1..ac463f3 100644 (file)
@@ -786,17 +786,10 @@ _AnimationManager::ProcessCommittedTransaction(void)
        {
                pNode = __committedList.GetNodeAt(index);
 
-               if (pNode->IsEmpty())
-               {
-                       delete pNode;
-               }
-               else
-               {
-                       pNode->DrawTargets();
-                       pNode->SetChildrenBaseTime(_AnimationTime::GetTime());
+               pNode->DrawTargets();
+               pNode->SetChildrenBaseTime(_AnimationTime::GetTime());
 
-                       __pRootTransaction->AddChild(*pNode);
-               }
+               __pRootTransaction->AddChild(*pNode);
        }
 
        __committedList.RemoveAll();