1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0027817: Visualization, StdSelect_BRepOwner - copy transformation persistence flag

This commit is contained in:
kgv
2016-08-28 19:21:13 +03:00
committed by bugmaster
parent 413b1c1a97
commit e7879c5796
2 changed files with 19 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ void StdSelect_BRepOwner::Hilight(const Handle(PrsMgr_PresentationManager)& PM,
if (!aSel.IsNull())
{
myPrsSh->SetZLayer (aSel->ZLayer());
myPrsSh->SetTransformPersistence (aSel->GetTransformPersistenceMode(), aSel->GetTransformPersistencePoint());
}
// highlight and set layer
@@ -176,6 +177,7 @@ void StdSelect_BRepOwner::HilightWithColor(const Handle(PrsMgr_PresentationManag
if (!aSel.IsNull())
{
myPrsSh->SetZLayer (aSel->ZLayer());
myPrsSh->SetTransformPersistence (aSel->GetTransformPersistenceMode(), aSel->GetTransformPersistencePoint());
}
// highlight with color and set layer