Do not recreate SG::Animation when we call Clear + Redefine Clear behavior 57/306957/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 29 Feb 2024 08:16:01 +0000 (17:16 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 4 Mar 2024 12:43:41 +0000 (21:43 +0900)
commitbba451e4adb84a62a73d4af25e8e42689664afec
treecda3fbcd82d31ec26ef02e60229089041d583955
parente73b18504b0f9c5d9ee5ac92275c8160c613b265
Do not recreate SG::Animation when we call Clear + Redefine Clear behavior

Let we make Clear don't destroy & re-create the SG::Animation.

And also, we don't need to cache current loop count at event side.
Let we ask it to scene graph side, Same as other values are doing now.

Change-Id: I4b5353e7fb9ab1898ff4d22a8db78ccb3a19c460
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/event/animation/animation-impl.cpp
dali/internal/event/animation/animation-impl.h
dali/internal/update/animation/scene-graph-animation.cpp
dali/internal/update/animation/scene-graph-animation.h
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h