[Tizen](Partial Update) Use world color to check if the item is updated 51/269451/1 submit/tizen_6.5/20220118.074803
authorHeeyong Song <heeyong.song@samsung.com>
Fri, 14 Jan 2022 08:37:15 +0000 (17:37 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Fri, 14 Jan 2022 08:37:47 +0000 (17:37 +0900)
Change-Id: I39943755b25126822917d9c1221b3c7eef33d46c

dali/internal/update/manager/render-instruction-processor.cpp

index a395436..ff4d120 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -239,7 +239,7 @@ inline void AddRendererToRenderList(BufferIndex         updateBufferIndex,
       partialRenderingCacheInfo.node       = node;
       partialRenderingCacheInfo.isOpaque   = (opacityType == Renderer::OPAQUE);
       partialRenderingCacheInfo.renderer   = renderable.mRenderer;
-      partialRenderingCacheInfo.color      = node->GetColor(updateBufferIndex);
+      partialRenderingCacheInfo.color      = node->GetWorldColor(updateBufferIndex);
       partialRenderingCacheInfo.depthIndex = node->GetDepthIndex();
 
       if(DALI_LIKELY(renderable.mRenderer))