mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0025552: Visualization - provide the way to hide the object in specified view of the viewer
Add test case bugs/vis/bug25552 OpenGl_GraphicDriver - do not use View and Workspace identifiers on level of entire Driver
This commit is contained in:
@@ -149,14 +149,18 @@ void StdSelect_BRepOwner::HilightWithColor(const Handle(PrsMgr_PresentationManag
|
||||
}
|
||||
|
||||
// highlight with color and set layer
|
||||
PM->Color (myPrsSh, aCol, M);
|
||||
PM->Color (myPrsSh, aCol, M, aSel);
|
||||
}
|
||||
else
|
||||
{
|
||||
if(myPrsSh.IsNull())
|
||||
PM->Color(aSel, aCol, M);
|
||||
if (!myPrsSh.IsNull())
|
||||
{
|
||||
PM->Color (myPrsSh, aCol, M, aSel);
|
||||
}
|
||||
else
|
||||
PM->Color(myPrsSh,aCol,M);
|
||||
{
|
||||
PM->Color (aSel, aCol, M);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user