1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0022795: Make possible to display some presentable objects in overlay of others, groupped by display priority

This commit is contained in:
apl
2012-03-15 15:56:58 +04:00
parent 270a5d4e0c
commit 71c4f9c655
4 changed files with 40 additions and 1 deletions

View File

@@ -3194,7 +3194,13 @@ Standard_Integer AIS_InteractiveContext::GetZLayer (const Handle(AIS_Interactive
return -1;
if (myObjects.IsBound (theIObj))
{
return theIObj->GetZLayer (myMainPM);
}
else if (HasOpenedContext ())
{
return myLocalContexts (myCurLocalIndex)->GetZLayer (theIObj);
}
return myLocalContexts (myCurLocalIndex)->GetZLayer (theIObj);
return -1;
}