From: nds Date: Wed, 4 Dec 2013 04:07:07 +0000 (+0000) Subject: OCC functionality moving out from the widget X-Git-Tag: BR_hydro_v_0_4~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=956e4cff996bd50a0d0067732a21a3339b817193;p=modules%2Fhydro.git OCC functionality moving out from the widget To be corrected. --- diff --git a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx index 8ff209f5..bbef9e43 100755 --- a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx +++ b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx @@ -264,13 +264,11 @@ void HYDROGUI_PolylineOp::onEditorSelectionChanged() CurveCreator_Displayer* aDisplayer = myCurve->getDisplayer(); if( !aDisplayer ) return; - QList aSelSections = aPanel->getSelectedSections(); - for( int i = 0 ; i < myCurve->getNbSections() ; i++ ){ - bool aIsHl = false; - if( aSelSections.contains(i) ){ - aDisplayer->highlight( myCurve->constructSection(i), aIsHl ); - } - } + //QList aSelSections = aPanel->getSelectedSections(); + bool aIsHl = false; + //if( aSelSections.contains(i) ){ + aDisplayer->highlight( myCurve->constructWire(), aIsHl ); + //} } void HYDROGUI_PolylineOp::displayPreview()