Let we allow to change AnimationDefinition property 59/292059/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 27 Apr 2023 02:07:46 +0000 (11:07 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 27 Apr 2023 02:07:46 +0000 (11:07 +0900)
Change-Id: Id6e0a345bb5b4213191f56f94f5c5b20bf2d2020
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/public-api/loader/animation-definition.cpp
dali-scene3d/public-api/loader/animation-definition.h

index 5d8d304..d35631d 100644 (file)
@@ -172,7 +172,7 @@ void AnimationDefinition::SetProperty(uint32_t index, AnimatedProperty&& propert
   mProperties[index] = std::move(property);
 }
 
-const AnimatedProperty& AnimationDefinition::GetPropertyAt(uint32_t index)
+AnimatedProperty& AnimationDefinition::GetPropertyAt(uint32_t index)
 {
   return mProperties[index];
 }
index ff72e3f..9b8393c 100644 (file)
@@ -188,7 +188,7 @@ public: // METHODS
    *
    * @param[in] index The index of property to be retrieved.
    */
-  const AnimatedProperty& GetPropertyAt(uint32_t index);
+  AnimatedProperty& GetPropertyAt(uint32_t index);
 
 private: // DATA
   std::string mName;