53076: OCC exception in Netgen algorithm (regression of StdMeshers_QuadToTriaAdaptor.cxx)

This commit is contained in:
eap 2016-01-25 21:06:20 +03:00
parent 8ae4682461
commit 63d763e7b2

View File

@ -764,7 +764,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
else
{
for ( TopExp_Explorer exp(aShape,TopAbs_FACE); exp.More(); exp.Next() )
if (( aSubMeshDSFace = aProxyMesh->GetSubMesh( exp.Current() )))
if (( aSubMeshDSFace = meshDS->MeshElements( exp.Current() )))
itVec.push_back( aSubMeshDSFace->GetElements() );
}
typedef