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

0022368: AIS_Trihedron's highlight presentation isn't updated on trihedron relocation

This commit is contained in:
APL
2011-10-21 16:07:55 +00:00
committed by bugmaster
parent cbc651403a
commit 29d43f9cba
5 changed files with 223 additions and 15 deletions

View File

@@ -216,6 +216,11 @@ void SelectMgr_SelectableObject::UpdateLocation(const Handle(SelectMgr_Selection
SE = *((Handle(Select3D_SensitiveEntity)*) &(Sel->Sensitive()));
if(!SE.IsNull()){
SE->UpdateLocation(myLocation);
const Handle(SelectBasics_EntityOwner)& aEOwner = SE->OwnerId();
Handle(SelectMgr_EntityOwner) aMgrEO =
Handle(SelectMgr_EntityOwner)::DownCast (aEOwner);
if (!aMgrEO.IsNull())
aMgrEO->SetLocation (myLocation);
}
}
}