}
aProfileObj->SetParametricPoints( aProfileParamPoints );
- if( !myIsEdit )
- module()->setObjectVisible( HYDROGUI_Tool::GetActiveOCCViewId( module() ), aProfileObj, true );
+ aProfileObj->Update();
theUpdateFlags = UF_Model;
return true;
{
CurveCreator_Displayer* aDisplayer = new CurveCreator_Displayer( aCtx );
myProfile->setDisplayer( aDisplayer );
- aDisplayer->display( myProfile->constructWire(), true );
+ aDisplayer->display( myProfile->getAISObject( true ), true );
}
}
}
Handle(AIS_InteractiveContext) aCtx = aPanel->getAISContext();
if( !aCtx.IsNull() )
{
- aDisplayer->erase( true );
+ aDisplayer->eraseAll( true );
}
}
}