]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Improvement correction: Bug PAL10401 wrong sens in cut line
authorenk <enk@opencascade.com>
Wed, 9 Nov 2005 13:45:54 +0000 (13:45 +0000)
committerenk <enk@opencascade.com>
Wed, 9 Nov 2005 13:45:54 +0000 (13:45 +0000)
src/VISUGUI/VisuGUI_CutLinesDlg.cxx

index 1db03f8f6ce1e0355aa12aa2a35a6ca2f6a9b60a..221385530e6d9ed24edf39512711041acc5bc1d6 100644 (file)
@@ -835,7 +835,14 @@ void VisuGUI_CutLinesDlg::onPreviewCheck (bool thePreview)
  */
 void VisuGUI_CutLinesDlg::onAllCurvesInvertedCheck(bool theInvert)
 {
-  myCutLines->SetAllCurvesInverted(theInvert);
+  if (myAllCurvesInvertedCheck->isChecked()){
+    myCutLines->SetAllCurvesInverted(true);
+    myPrs->SetAllCurvesInverted(true);
+  }
+  else {
+    myCutLines->SetAllCurvesInverted(false);
+    myPrs->SetAllCurvesInverted(false);
+  }
   updateGlyphs(true);
 }