1
0
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:
kgv
2015-03-05 13:50:47 +03:00
committed by bugmaster
parent 8621cdc2b7
commit a272ed9466
32 changed files with 572 additions and 80 deletions

View File

@@ -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);
}
}
}