SetDepthIndicesMessage( GetEventThreadServices().GetUpdateManager(), sceneGraphNodeDepths );
DALI_LOG_TIMER_END(depthTimer, gLogFilter, Debug::Concise, "Depth tree create time: ");
+ rootNode->~ActorDepthTreeNode();
}
/**
{
if( mFirstChildNode )
{
- delete mFirstChildNode;
+ mFirstChildNode->~ActorDepthTreeNode();
mFirstChildNode = NULL;
}
if( mNextSiblingNode )
{
- delete mNextSiblingNode;
+ mNextSiblingNode->~ActorDepthTreeNode();
mNextSiblingNode = NULL;
}
mParentNode = NULL;
+
+ mActors.clear();
}
uint16_t GetSiblingOrder()
{
iter->node->SetDepthIndex( iter->sortedDepth );
}
+ delete nodeDepths;
}
}