X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fnodes%2Fnode.h;h=a886a9b1afa4bead884cf5de4d201a584c58e267;hb=4e2aa476640b5ce5557e062c6349d1fbfd1ae005;hp=c34b68475d06860a8a0f801a8db59e7f8a0a8e4b;hpb=875a75f57a4c7c4c2c88d58d8424bd2b768ec8f7;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/nodes/node.h b/dali/internal/update/nodes/node.h index c34b684..a886a9b 100644 --- a/dali/internal/update/nodes/node.h +++ b/dali/internal/update/nodes/node.h @@ -786,7 +786,11 @@ public: */ void SetDepthIndex(uint32_t depthIndex) { - mDepthIndex = depthIndex; + if(depthIndex != mDepthIndex) + { + SetDirtyFlag(NodePropertyFlags::DEPTH_INDEX); + mDepthIndex = depthIndex; + } } /**