Skip to content

Commit

Permalink
2D view mode warning in case of a cylindrical mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
thliebig committed Apr 5, 2012
1 parent 774bba3 commit 07ac6ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions QCSXCAD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,8 @@ void QCSXCAD::BuildToolBar()

void QCSXCAD::View2D()
{
if (clGrid.GetMeshType()==CYLINDRICAL)
QMessageBox::warning(this, tr("2D View Mode Warning"),tr("The 2D view mode is not yet adepted to handle a cylindrical mesh and some primitives defined with cylindrical coordinates."));
ViewLevel=VIEW_2D;
StackWidget->setCurrentIndex(ViewLevel);
StructureVTK->SetUpdateMode(false);
Expand Down

0 comments on commit 07ac6ef

Please sign in to comment.