Avoid empty items in the "Algorithm" combo-box in the "Create/Edit Mesh" dialog.

This commit is contained in:
rnv 2012-03-27 09:52:22 +00:00
parent a16044eab3
commit da4fe2a060

View File

@ -282,6 +282,7 @@ namespace SMESH
THypothesisDataMap::ConstIterator anIter;
for ( anIter = pMap.begin(); anIter != pMap.end(); anIter++ ) {
HypothesisData* aData = anIter.value();
if(!aData || aData->Label.isEmpty()) continue;
if ( ( theDim < 0 || aData->Dim.contains( theDim ) ) && aData->IsAux == isAux) {
if (checkGeometry) {
if (aData->IsNeedGeometry == isNeedGeometry)