]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug IPAL13168(It is impossible to change base plane position of cut lines...
authormzn <mzn@opencascade.com>
Wed, 14 Feb 2007 09:27:54 +0000 (09:27 +0000)
committermzn <mzn@opencascade.com>
Wed, 14 Feb 2007 09:27:54 +0000 (09:27 +0000)
src/VISUGUI/VisuGUI_CutLinesDlg.cxx

index a2b28588c5bdc90ac58fb4e7d4e38dad7fb9bb45..5b82d3ab3da2def5e828f54f39b8d0f3a03fb6ae 100644 (file)
@@ -485,6 +485,7 @@ void VisuGUI_CutLinesDlg::setBaseDefault (bool theUpdate)
     /*    float aPos = myCutLines->GetBasePlanePosition();
     myBasePlanePos->setText( QString::number(aPos) );
     myBasePlanePos->setEnabled(false);*/
+    myCutLines->SetDisplacement(myPosSpn->value());
     SVTK_ViewWindow* aView = VISU::GetActiveViewWindow<SVTK_ViewWindow>();
     if (aView) {
       if (theUpdate && myPreviewCheck->isChecked() && (myCutLines != NULL)) {