mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 15:10:33 +05:00
remove useless dump of vertices of failed shape
This commit is contained in:
parent
f36c4b1044
commit
bc4ff5ff6c
@ -1717,20 +1717,8 @@ bool SMESH_subMesh::CheckComputeError(SMESH_Algo* theAlgo, const TopoDS_Shape& t
|
|||||||
if ( _computeError->myComment.size() > 0 )
|
if ( _computeError->myComment.size() > 0 )
|
||||||
text << " \"" << _computeError->myComment << "\"";
|
text << " \"" << _computeError->myComment << "\"";
|
||||||
|
|
||||||
#ifdef _DEBUG_
|
|
||||||
MESSAGE_BEGIN ( text );
|
|
||||||
// Show vertices location of a failed shape
|
|
||||||
TopTools_IndexedMapOfShape vMap;
|
|
||||||
TopExp::MapShapes( _subShape, TopAbs_VERTEX, vMap );
|
|
||||||
MESSAGE_ADD ( "Subshape vertices " << ( vMap.Extent()>10 ? "(first 10):" : ":") );
|
|
||||||
for ( int iv = 1; iv <= vMap.Extent() && iv < 11; ++iv ) {
|
|
||||||
gp_Pnt P( BRep_Tool::Pnt( TopoDS::Vertex( vMap( iv ) )));
|
|
||||||
MESSAGE_ADD ( "#" << _father->GetMeshDS()->ShapeToIndex( vMap( iv )) << " "
|
|
||||||
<< P.X() << " " << P.Y() << " " << P.Z() << " " );
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
INFOS( text );
|
INFOS( text );
|
||||||
#endif
|
|
||||||
_computeState = FAILED_TO_COMPUTE;
|
_computeState = FAILED_TO_COMPUTE;
|
||||||
noErrors = false;
|
noErrors = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user