Fix Edit Mesh regression

Pb: no 2D algo selected when editing Mesh_3 of SALOME_TESTS/Grids/smesh/imps_09/K7
This commit is contained in:
eap 2019-09-05 20:45:46 +03:00
parent 54d95073e1
commit c64a5dc488

View File

@ -1461,6 +1461,7 @@ void SMESHGUI_MeshOp::setFilteredAlgoData()
updateHypoSets(); // it sets myAvailableHypData by curMeshType updateHypoSets(); // it sets myAvailableHypData by curMeshType
// restore current algorithms according to changed myAvailableHypData // restore current algorithms according to changed myAvailableHypData
algosAvailable.clear();
for ( int dim = 0; dim <= 3; ++dim ) for ( int dim = 0; dim <= 3; ++dim )
{ {
int algoIndex = myAvailableHypData[ dim ][ Algo ].indexOf( curAlgos[ dim ]); int algoIndex = myAvailableHypData[ dim ][ Algo ].indexOf( curAlgos[ dim ]);