mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-01 03:55:36 +05:00
improve error message
This commit is contained in:
parent
bec2f2dc5f
commit
c69cf27bd1
@ -500,7 +500,8 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires,
|
|||||||
const vector<UVPtStruct>& uvPtVec = wires[ iW ]->GetUVPtStruct();
|
const vector<UVPtStruct>& uvPtVec = wires[ iW ]->GetUVPtStruct();
|
||||||
if ( uvPtVec.size() != wires[ iW ]->NbPoints() ) {
|
if ( uvPtVec.size() != wires[ iW ]->NbPoints() ) {
|
||||||
return error(COMPERR_BAD_INPUT_MESH,SMESH_Comment("Unexpected nb of points on wire ")
|
return error(COMPERR_BAD_INPUT_MESH,SMESH_Comment("Unexpected nb of points on wire ")
|
||||||
<< iW << uvPtVec.size()<<" != "<<wires[ iW ]->NbPoints());
|
<< iW << ": " << uvPtVec.size()<<" != "<<wires[ iW ]->NbPoints()
|
||||||
|
<< ", probably because of invalid node parameters on geom edges");
|
||||||
}
|
}
|
||||||
if ( m + uvPtVec.size()-1 > mefistoToDS.size() ) {
|
if ( m + uvPtVec.size()-1 > mefistoToDS.size() ) {
|
||||||
MESSAGE("Wrong mefistoToDS.size: "<<mefistoToDS.size()<<" < "<<m + uvPtVec.size()-1);
|
MESSAGE("Wrong mefistoToDS.size: "<<mefistoToDS.size()<<" < "<<m + uvPtVec.size()-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user