From e30eb936d322b2f1241e5984101755d127d42860 Mon Sep 17 00:00:00 2001 From: Dae Young Ryu Date: Tue, 22 Oct 2013 19:24:35 +0900 Subject: [PATCH] fixed ControlAnimator problem Change-Id: I85ba6eacf46b674a734e55199f497fe01a5a6353 Signed-off-by: Dae Young Ryu --- src/ui/animations/FUiAnim_FrameAnimatorImpl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/animations/FUiAnim_FrameAnimatorImpl.cpp b/src/ui/animations/FUiAnim_FrameAnimatorImpl.cpp index eddea40..66527de 100644 --- a/src/ui/animations/FUiAnim_FrameAnimatorImpl.cpp +++ b/src/ui/animations/FUiAnim_FrameAnimatorImpl.cpp @@ -732,6 +732,11 @@ _FrameAnimatorImpl::StartLayerAnimation(VisualElement* pLayer, AnimationTargetTy SysTryCatch(NID_UI_ANIM, (pVePropType), r = E_SYSTEM, E_SYSTEM, "[E_SYSTEM] Animation property type is invalid."); propAnimation->SetPropertyName(pVePropType); + if(!propAnimation->GetStartValue().IsEmpty()) + { + _VisualElementImpl* pImpl = _VisualElementImpl::GetInstance(*pLayer); + pImpl->GetPresentation()->SetPropertyI(*pVePropType, propAnimation->GetStartValue()); + } r = pLayer->AddAnimation(animName, *propAnimation); SysTryCatch(NID_UI_ANIM, (r == E_SUCCESS), r = E_SYSTEM, r, "[E_SYSTEM] A system error has been occurred. Failed to add animation to visual element."); -- 2.7.4