diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx index a286e0e48..5eaaf6609 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx @@ -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