]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
OCC functionality moving out from the widget
authornds <nds@opencascade.com>
Wed, 4 Dec 2013 04:07:07 +0000 (04:07 +0000)
committernds <nds@opencascade.com>
Wed, 4 Dec 2013 04:07:07 +0000 (04:07 +0000)
To be corrected.

src/HYDROGUI/HYDROGUI_PolylineOp.cxx

index 8ff209f50dfa3105db4fe141499aa21177e8c0b8..bbef9e43b6fb054bd08de98c2128e009ccfb7c99 100755 (executable)
@@ -264,13 +264,11 @@ void HYDROGUI_PolylineOp::onEditorSelectionChanged()
   CurveCreator_Displayer* aDisplayer = myCurve->getDisplayer();
   if( !aDisplayer )
     return;
-  QList<int> 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<int> aSelSections = aPanel->getSelectedSections();
+  bool aIsHl = false;
+  //if( aSelSections.contains(i) ){
+    aDisplayer->highlight( myCurve->constructWire(), aIsHl );
+  //}
 }
 
 void HYDROGUI_PolylineOp::displayPreview()