/// Set Highlighting of points as a Ball shape
/// \param theAIS - the presentation
-void MODULEBASE_EXPORT setPointBallHighlighting(AIS_Shape* theAIS);
+void MODULEBASE_EXPORT setPointBallHighlighting(AIS_InteractiveObject* theAIS);
/// Creates a parameter from a given string
/// \theText a text wit equation
//aContext->DefaultDrawer()->VIsoAspect()->SetNumber(0);
//aContext->DefaultDrawer()->UIsoAspect()->SetNumber(0);
- //Handle(AIS_Trihedron) aTrihedron = myWorkshop->viewer()->trihedron();
- //aTrihedron->getHighlightPointAspect()->SetScale(2.0);
- //aTrihedron->getHighlightPointAspect()->SetTypeOfMarker(Aspect_TOM_O_STAR);
-
// Commented out according to discussion in bug #2825
ModuleBase_IViewer::DefaultHighlightDrawer = aContext->HighlightStyle();
//Handle(Prs3d_Drawer) aSelStyle = aContext->SelectionStyle();
//ModuleBase_IViewer::DefaultHighlightDrawer->SetDeviationCoefficient(aDeflection);
//aSelStyle->SetDeviationCoefficient(aDeflection);
+
+ Handle(AIS_Trihedron) aTrihedron = myWorkshop->viewer()->trihedron();
+ if (!aTrihedron.IsNull())
+ ModuleBase_Tools::setPointBallHighlighting(aTrihedron.get());
}
return aContext;
}