From 129cb9d2953256f892e9204388839d2e3eb02eef Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 1 Dec 2008 11:32:56 +0000 Subject: [PATCH] IPAL20650 Axis for rotation of Cut Planes are defined incorrectly --- src/VISUGUI/VisuGUI_CutPlanesDlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx index 7cdb29cb..7f55826e 100644 --- a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx @@ -394,13 +394,13 @@ int VisuGUI_CutPlanesPane::storeToPrsObject (VISU::CutPlanes_i* thePrs) */ void VisuGUI_CutPlanesPane::orientationChanged (int Id) { - if (Id == 0) { // RBxy->isChecked() + if ( RBxy->isChecked() ) { // RBxy->isChecked() LabelRot1->setText(tr("LBL_ROT_X")); LabelRot2->setText(tr("LBL_ROT_Y")); - } else if (Id == 1) { // RByz->isChecked() + } else if ( RByz->isChecked() ) { // RByz->isChecked() LabelRot1->setText(tr("LBL_ROT_Y")); LabelRot2->setText(tr("LBL_ROT_Z")); - } else { + } else if ( RBzx->isChecked() ) { LabelRot1->setText(tr("LBL_ROT_Z")); LabelRot2->setText(tr("LBL_ROT_X")); } -- 2.39.2