From: mzn Date: Wed, 14 Feb 2007 09:27:54 +0000 (+0000) Subject: Fix for bug IPAL13168(It is impossible to change base plane position of cut lines... X-Git-Tag: V3_2_6a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=330bc2524aebee35fd81ddd1ca43be04c9656a72;p=modules%2Fvisu.git Fix for bug IPAL13168(It is impossible to change base plane position of cut lines via "Displacement" paramerter). --- diff --git a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx index a2b28588..5b82d3ab 100644 --- a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx @@ -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(); if (aView) { if (theUpdate && myPreviewCheck->isChecked() && (myCutLines != NULL)) {