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

0027988: Visualization, AIS_InteractiveContext - fix inconsistent methods for setting highlight styles

Methods ::ChangeHighlightStyle() and ::ChangeSelectionStyle() have been
replaced by ::SetHighlightStyle() and ::SetSelectionStyle().
This commit is contained in:
kgv
2016-10-21 12:51:26 +03:00
committed by apn
parent 0b622d670d
commit d94bed0e26
5 changed files with 11 additions and 25 deletions

View File

@@ -9292,8 +9292,8 @@ static int VSelectionProperties (Draw_Interpretor& theDi,
aCtx->SetPixelTolerance (aCmd.ArgInt ("pixTol"));
}
Handle(Graphic3d_HighlightStyle)& aHiStyle = aCtx->ChangeHighlightStyle();
Handle(Graphic3d_HighlightStyle)& aSelStyle = aCtx->ChangeSelectionStyle();
const Handle(Graphic3d_HighlightStyle)& aHiStyle = aCtx->HighlightStyle();
const Handle(Graphic3d_HighlightStyle)& aSelStyle = aCtx->SelectionStyle();
Standard_Boolean toRedraw = Standard_False;
if (aCmd.HasOption ("selColor"))
{