From: enk Date: Wed, 9 Nov 2005 13:45:54 +0000 (+0000) Subject: Improvement correction: Bug PAL10401 wrong sens in cut line X-Git-Tag: V3_1_0a3~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=38f183f32b704e313a41f89509e2aa44d736bab5;p=modules%2Fvisu.git Improvement correction: Bug PAL10401 wrong sens in cut line --- diff --git a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx index 1db03f8f..22138553 100644 --- a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx @@ -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); }