mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
23032: EDF SMESH: Projection 1D-2D fails with Netgen 1D-2D
SIGSEGV in optimize mode on Debian
This commit is contained in:
parent
950f20de28
commit
dcfc66bbfa
@ -718,10 +718,10 @@ bool SMESH_Pattern::Load (SMESH_Mesh* theMesh,
|
|||||||
{
|
{
|
||||||
// new wire begins; put wire EDGEs in eVec
|
// new wire begins; put wire EDGEs in eVec
|
||||||
list<TopoDS_Edge>::iterator eEnd = elIt;
|
list<TopoDS_Edge>::iterator eEnd = elIt;
|
||||||
|
if ( iE == *nbEinW )
|
||||||
|
++nbEinW;
|
||||||
std::advance( eEnd, *nbEinW );
|
std::advance( eEnd, *nbEinW );
|
||||||
eVec.assign( elIt, eEnd );
|
eVec.assign( elIt, eEnd );
|
||||||
if ( iE > 0 )
|
|
||||||
++nbEinW;
|
|
||||||
iE = 0;
|
iE = 0;
|
||||||
}
|
}
|
||||||
TopoDS_Edge & edge = *elIt;
|
TopoDS_Edge & edge = *elIt;
|
||||||
|
Loading…
Reference in New Issue
Block a user