#include <StdPrs_Point.hxx>
#include <Geom_Point.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
-#include <AIS_Drawer.hxx>
#include <AIS_InteractiveContext.hxx>
//=======================================================================
void AIS_Point::UpdatePointValues()
{
- if(!hasOwnColor && myOwnWidth==0.0 && !myHasTOM){
- myDrawer->PointAspect().Nullify();
+ if(!hasOwnColor && myOwnWidth==0.0 && !myHasTOM)
+ {
+ myDrawer->SetPointAspect (Handle(Prs3d_PointAspect)());
return;
}
Quantity_Color aCol;
if(myHasTOM) aTOM = myTOM;
- if(myDrawer->HasPointAspect()){
+ if(myDrawer->HasOwnPointAspect()){
// CLE
// const Handle(Prs3d_PointAspect) PA = myDrawer->PointAspect();
Handle(Prs3d_PointAspect) PA = myDrawer->PointAspect();