#17956 [CEA 17925] COMPERR_OCC_EXCEPTION

This commit is contained in:
eap 2019-11-08 16:58:10 +03:00
parent d3aab2e9ab
commit 95aa1f92b9

View File

@ -7478,6 +7478,8 @@ void SMESH_MeshEditor::FindEqualElements( TIDSortedElemSet & theElements,
while ( elemIt->more() )
{
const SMDS_MeshElement* curElem = elemIt->next();
if ( curElem->IsNull() )
continue;
ComparableElement compElem = curElem;
// check uniqueness
const ComparableElement& elemInSet = mapOfElements.Added( compElem );