[3.0] Added sibling order property to Actor
[platform/core/uifw/dali-core.git] / dali / internal / update / manager / render-instruction-processor.cpp
index bbb216a..560dcf1 100644 (file)
@@ -205,7 +205,7 @@ inline void AddRendererToRenderList( BufferIndex updateBufferIndex,
 
       if( !isLayer3d )
       {
-        item.mDepthIndex += static_cast<int>( renderable.mNode->GetDepth() ) * Dali::Layer::TREE_DEPTH_MULTIPLIER;
+        item.mDepthIndex += renderable.mNode->GetDepthIndex();
       }
 
       // Save ModelView matrix onto the item.