Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16044e
)
Avoid empty items in the "Algorithm" combo-box in the "Create/Edit Mesh" dialog.
author
rnv
<rnv@opencascade.com>
Tue, 27 Mar 2012 09:52:22 +0000
(09:52 +0000)
committer
rnv
<rnv@opencascade.com>
Tue, 27 Mar 2012 09:52:22 +0000
(09:52 +0000)
src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
index a0986ce5d21bc78c2f5d1d190ac0a5504df09dd1..623f0dbd210664ccbf72c459569c3916017ea447 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
+++ b/
src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
@@
-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)