projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Recalculated layer's reusability flags after transform update
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
update
/
nodes
/
node.h
diff --git
a/dali/internal/update/nodes/node.h
b/dali/internal/update/nodes/node.h
index
c34b684
..
a886a9b
100644
(file)
--- 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;
+ }
}
/**