Salome HOME
0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
authorMaintenance team (INV) <mnt@opencascade.com>
Mon, 17 Mar 2014 05:54:10 +0000 (09:54 +0400)
committerMaintenance team (INV) <mnt@opencascade.com>
Mon, 17 Mar 2014 05:54:10 +0000 (09:54 +0400)
Fix compilation problem

src/SMESHGUI/SMESHGUI_MeshOp.cxx

index 05dd010c275bd9a2a0cb0311d96baf2150f464b4..c2ec7fcec558eb882f7902497cc97574ab451751 100644 (file)
@@ -2702,7 +2702,7 @@ void SMESHGUI_MeshOp::setFilteredAlgoData( const int theTabIndex, const int theI
         myDlg->disableTab( SMESH::DIM_3D );
         setCurrentHyp( SMESH::DIM_3D, Algo, -1);
       }
-      for ( int i = aMaxShapeDim; i > SMESH::DIM_0D; i-- )
+      for ( int i = myMaxShapeDim; i > SMESH::DIM_0D; i-- )
       {
         isReqDisBound = ( currentHyp( i, Algo ) < 0 ) ? true :
             myAvailableHypData[i][Algo].at( currentHyp( i, Algo ) )->InputTypes.isEmpty();