Change-Id: If51b1b395833d06ee294cb7c90b4def61c55ae76
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
{
try {
result = (int)(arg1)->GetHierarchyDepth();
+ Dali::Actor parent = ((Dali::Actor const *)arg1)->GetParent();
+ if(parent)
+ {
+ const std::string parentName = parent.GetName();
+ if(parentName.compare("rootAbsoluteLayout") == 0)
+ {
+ result -= 1;
+ }
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;