void HYDROGUI_Shape::setShape( const TopoDS_Shape& theShape,
const bool theToDisplay,
- const bool theIsUpdateViewer )
+ const bool theIsUpdateViewer,
+ const int theDisplayMode )
{
myTopoShape = theShape;
- myDisplayMode = AIS_Shaded;
+ myDisplayMode = theDisplayMode;
buildShape();
updateShape( theToDisplay, theIsUpdateViewer );
void HYDROGUI_Shape::buildShape()
{
// Erase previously created shape
- erase();
+ erase(false);
myShape = createShape();
if( myShape.IsNull() )