From 956e4cff996bd50a0d0067732a21a3339b817193 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 4 Dec 2013 04:07:07 +0000 Subject: [PATCH] OCC functionality moving out from the widget To be corrected. --- src/HYDROGUI/HYDROGUI_PolylineOp.cxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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() -- 2.39.2