Cache traveler only if the node was child of root node 36/305936/2
authorEunki Hong <eunkiki.hong@samsung.com>
Wed, 14 Feb 2024 02:29:48 +0000 (11:29 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 15 Feb 2024 09:20:52 +0000 (18:20 +0900)
commita469d11e875a721e1b85dd0a4983dbe979b8f4ce
tree13aade3eb13797ad114d787958f1f58c17a9319b
parent979e2ac5b3b955af2564a5b1cff85dc3bd082c7c
Cache traveler only if the node was child of root node

To avoid cache node infinitly, let we cache only if the node was child of root.
If then, we don't worry about memory increasement.

Change-Id: I8a97a84f6dc6721ca185241f76df5e968f02161a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/internal/update/manager/scene-graph-traveler.cpp
dali/internal/update/manager/scene-graph-traveler.h