Salome HOME
Correction on Bug PAL10401 wrong sens in cut line.
[modules/visu.git] / src / VISUGUI / VisuGUI_CutLinesDlg.cxx
index 221385530e6d9ed24edf39512711041acc5bc1d6..14563d8ac94192b1064552d2bfd034f93e0e97e3 100644 (file)
@@ -541,7 +541,7 @@ void VisuGUI_CutLinesDlg::updateGlyphs(bool update){
 
   for(int i=0; i<3; i++) aBoundCenter[i] = (bounds[i*2] + bounds[i*2+1])/2.0;
   for(int i=0; i<3; i++){ 
-    if (myAllCurvesInvertedCheck->isChecked())
+    if (!myAllCurvesInvertedCheck->isChecked())
       aSecondPnt[i] = aBasePnt[i] + aDirLn[i];
     else
       aSecondPnt[i] = -aBasePnt[i] - aDirLn[i];