From: Richard Huang Date: Wed, 27 Oct 2021 16:43:23 +0000 (+0100) Subject: Fixed node dirty flags when inheriting the flags from the parent node X-Git-Tag: dali_2.1.0~8 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=commitdiff_plain;h=3a2b78ecc41aa6540a2dab9de7f74efd8aad47b0 Fixed node dirty flags when inheriting the flags from the parent node Change-Id: I112641e530c0c56f8c793ddf8e263366a16cfe08 --- diff --git a/dali/internal/update/manager/update-algorithms.cpp b/dali/internal/update/manager/update-algorithms.cpp index db310df..99df7d3 100644 --- a/dali/internal/update/manager/update-algorithms.cpp +++ b/dali/internal/update/manager/update-algorithms.cpp @@ -109,7 +109,7 @@ inline NodePropertyFlags UpdateNodes(Node& node, ConstrainPropertyOwner(node, updateBufferIndex); // Some dirty flags are inherited from parent - NodePropertyFlags nodeDirtyFlags = node.GetInheritedDirtyFlags(parentFlags); + NodePropertyFlags nodeDirtyFlags = node.GetDirtyFlags() | node.GetInheritedDirtyFlags(parentFlags); NodePropertyFlags cumulativeDirtyFlags = nodeDirtyFlags;