mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Avoid empty items in the "Algorithm" combo-box in the "Create/Edit Mesh" dialog.
This commit is contained in:
parent
a16044eab3
commit
da4fe2a060
@ -282,6 +282,7 @@ namespace SMESH
|
|||||||
THypothesisDataMap::ConstIterator anIter;
|
THypothesisDataMap::ConstIterator anIter;
|
||||||
for ( anIter = pMap.begin(); anIter != pMap.end(); anIter++ ) {
|
for ( anIter = pMap.begin(); anIter != pMap.end(); anIter++ ) {
|
||||||
HypothesisData* aData = anIter.value();
|
HypothesisData* aData = anIter.value();
|
||||||
|
if(!aData || aData->Label.isEmpty()) continue;
|
||||||
if ( ( theDim < 0 || aData->Dim.contains( theDim ) ) && aData->IsAux == isAux) {
|
if ( ( theDim < 0 || aData->Dim.contains( theDim ) ) && aData->IsAux == isAux) {
|
||||||
if (checkGeometry) {
|
if (checkGeometry) {
|
||||||
if (aData->IsNeedGeometry == isNeedGeometry)
|
if (aData->IsNeedGeometry == isNeedGeometry)
|
||||||
|
Loading…
Reference in New Issue
Block a user