mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Fix for the issue "21203: EDF 1797 SMESH: SIGSEGV with move node on a Mesh with 0D elements"
This commit is contained in:
parent
b21fc186af
commit
fa15bee5e1
@ -2681,6 +2681,9 @@ void SMESH_MeshEditor::GetLinkedNodes( const SMDS_MeshNode* theNode,
|
|||||||
while ( elemIt->more() )
|
while ( elemIt->more() )
|
||||||
{
|
{
|
||||||
const SMDS_MeshElement* elem = elemIt->next();
|
const SMDS_MeshElement* elem = elemIt->next();
|
||||||
|
if(elem->GetType() == SMDSAbs_0DElement)
|
||||||
|
continue;
|
||||||
|
|
||||||
SMDS_ElemIteratorPtr nodeIt = elem->nodesIterator();
|
SMDS_ElemIteratorPtr nodeIt = elem->nodesIterator();
|
||||||
if ( elem->GetType() == SMDSAbs_Volume )
|
if ( elem->GetType() == SMDSAbs_Volume )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user