Commit ffef9f8e authored by allens's avatar allens

minor bug fix

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16627 18c085ea-50e0-402c-830e-de6fd14e8384
parent 0035bd58
......@@ -1151,22 +1151,19 @@ QvisLineSamplerWindow::UpdateWindow(bool doAll)
(int)atts->GetArrayAxis()==0);
cartesianZLayoutLabel->setVisible((int)atts->GetMeshGeometry()==0 &&
(int)atts->GetArrayAxis()==1);
cartesianConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==0 &&
(int)atts->GetArrayAxis()==1);
cartesianConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==0);
cylindricalRLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1 &&
(int)atts->GetArrayAxis()==0);
cylindricalZLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1 &&
(int)atts->GetArrayAxis()==1);
cylindricalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1 &&
(int)atts->GetArrayAxis()==1);
cylindricalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1);
toroidalRLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 &&
(int)atts->GetArrayAxis()==0);
toroidalZLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 &&
(int)atts->GetArrayAxis()==1);
toroidalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 &&
(int)atts->GetArrayAxis()==1);
toroidalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 );
break;
case LineSamplerAttributes::ID_poloialAngle:
poloialAngle->setText(DoubleToQString(atts->GetPoloialAngle()));
......@@ -2642,22 +2639,19 @@ QvisLineSamplerWindow::UpdateMeshGeometry()
cartesianZLayoutLabel->setVisible((int)atts->GetMeshGeometry()==0 &&
(int)atts->GetArrayAxis()==1);
cartesianConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==0 &&
(int)atts->GetArrayAxis()==1);
cartesianConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==0);
cylindricalRLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1 &&
(int)atts->GetArrayAxis()==0);
cylindricalZLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1 &&
(int)atts->GetArrayAxis()==1);
cylindricalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1 &&
(int)atts->GetArrayAxis()==1);
cylindricalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==1);
toroidalRLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 &&
(int)atts->GetArrayAxis()==0);
toroidalZLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 &&
(int)atts->GetArrayAxis()==1);
toroidalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2 &&
(int)atts->GetArrayAxis()==1);
toroidalConfLayoutLabel->setVisible((int)atts->GetMeshGeometry()==2);
if( atts->GetMeshGeometry() == LineSamplerAttributes::Cartesian )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment