From: dmv Date: Mon, 1 Dec 2008 11:32:56 +0000 (+0000) Subject: IPAL20650 Axis for rotation of Cut Planes are defined incorrectly X-Git-Tag: V5_1_0rc2~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=129cb9d2953256f892e9204388839d2e3eb02eef;p=modules%2Fvisu.git IPAL20650 Axis for rotation of Cut Planes are defined incorrectly --- 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")); }