//
-
#include "HEXABLOCKGUI_OccGraphicView.hxx"
#include "HEXABLOCKGUI.hxx"
#include "HEXABLOCKGUI_VtkDocumentGraphicView.hxx"
TopoDS_Shape shapeToPreview;
previewShape = new AIS_Shape(shapeToPreview);
// previewShape->SetColor(Quantity_NOC_RED);
- getContext()->SetColor( previewShape, Quantity_NOC_RED );
+ getContext()->SetColor( previewShape, Quantity_NOC_RED, Standard_True );
}
void OccGraphicView::setSelectionMode(TopAbs_ShapeEnum mode)
previewShape->Set(shape);
// previewShape->SetColor(Quantity_NOC_RED);
- getContext()->SetColor( previewShape, Quantity_NOC_RED );
+ getContext()->SetColor( previewShape, Quantity_NOC_RED, Standard_True );
previewShape->Redisplay();
vf->Repaint();
}