Merge "Let we allow to change AnimationDefinition property" into devel/master
authorEunki Hong <eunkiki.hong@samsung.com>
Tue, 2 May 2023 08:03:48 +0000 (08:03 +0000)
committerGerrit Code Review <gerrit@review>
Tue, 2 May 2023 08:03:48 +0000 (08:03 +0000)
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;