-// Copyright (C) 2009-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2016 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
-
#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();
}