From: isn Date: Fri, 20 Nov 2015 09:27:01 +0000 (+0300) Subject: refs #740 (p.1 + p.2) X-Git-Tag: v1.5~9^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fcf6bb94aa4bb389b1e4b2150d631048ef89e1ad;p=modules%2Fhydro.git refs #740 (p.1 + p.2) --- diff --git a/src/HYDROData/HYDROData_SinusX.cxx b/src/HYDROData/HYDROData_SinusX.cxx index 8f05a257..3927c0a3 100644 --- a/src/HYDROData/HYDROData_SinusX.cxx +++ b/src/HYDROData/HYDROData_SinusX.cxx @@ -33,6 +33,7 @@ #include #include #include +#include HYDROData_SinusX::HYDROData_SinusX( ) { @@ -147,6 +148,7 @@ void HYDROData_SinusX::SXToHydro(Handle(HYDROData_Document) theDocument, NCollec aPolyXY->SetName(GetName(myCurveBlocks[i].myName + "_polyXY")); aProfileUZ->SetName(GetName(myCurveBlocks[i].myName + "_profileUZ")); aProfile->SetName(GetName(myCurveBlocks[i].myName + "_profile")); + aPolyXY->SetWireColor(HYDROData_PolylineXY::DefaultWireColor()); theEntities.Append(aPolyXY); theEntities.Append(aProfileUZ); theEntities.Append(aProfile); diff --git a/src/HYDROGUI/HYDROGUI_ImportSinusXOp.cxx b/src/HYDROGUI/HYDROGUI_ImportSinusXOp.cxx index d5c37eb5..4f30e802 100644 --- a/src/HYDROGUI/HYDROGUI_ImportSinusXOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportSinusXOp.cxx @@ -108,8 +108,7 @@ void HYDROGUI_ImportSinusXOp::onApply() else abort(); - module()->update( UF_Model | UF_VTKViewer | UF_VTK_Forced | UF_VTK_Init ); - + module()->update( UF_Model | UF_VTKViewer | UF_OCCViewer ); QApplication::restoreOverrideCursor(); } @@ -117,7 +116,7 @@ void HYDROGUI_ImportSinusXOp::UpdateView( NCollection_Sequence