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:
@@ -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"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user