if ( !aCtx.IsNull() )
{
myPolylineFacePreviewPrs = new HYDROGUI_Shape( aCtx, NULL, getPreviewZLayer() );
- aCtx->ClearSelected();
+ aCtx->ClearSelected(true);
myPolylineFacePreviewPrs->setBorderColor( Qt::white, false, false );
myPolylineFacePreviewPrs->setShape( aTopoDSShape, true, true, !aPolyline.IsNull() ? AIS_WireFrame : AIS_Shaded );
if ( !aViewer->isPreselectionEnabled() ) {
Handle(V3d_View) aView3d = aView->getViewPort()->getView();
if ( !aView3d.IsNull() ) {
- aCtx->MoveTo(myEndPnt.x(), myEndPnt.y(), aView3d);
+ aCtx->MoveTo(myEndPnt.x(), myEndPnt.y(), aView3d, true);
}
}