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];
*/
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);
}