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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user