X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fdli-loader.cpp;h=48a82c342768adf33d1a66af5066f1aec665eafa;hp=18214dd406460c2b1c9cba0bd2bea81089bf30d8;hb=e54ea0676d3bbe53d40309a41b1b415f8f6a64d4;hpb=c052b6678e2c6d8a65545dbbe4531ea7057c1999 diff --git a/dali-scene-loader/public-api/dli-loader.cpp b/dali-scene-loader/public-api/dli-loader.cpp index 18214dd..48a82c3 100644 --- a/dali-scene-loader/public-api/dli-loader.cpp +++ b/dali-scene-loader/public-api/dli-loader.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1626,14 +1626,13 @@ void DliLoader::Impl::ParseAnimations(const TreeNode* tnAnimations, LoadParams& if(tnValue) { animProp.mValue.reset(new AnimatedProperty::Value{ReadPropertyValue(*tnValue)}); + ReadBool(tnProperty.GetChild("relative"), animProp.mValue->mIsRelative); } else { mOnError(FormatString("Property '%s' fails to define target value.", animProp.mPropertyName.c_str())); } - - ReadBool(tnProperty.GetChild("relative"), animProp.mValue->mIsRelative); } animDef.mProperties.push_back(std::move(animProp));