]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
remove useless dump of vertices of failed shape
authoreap <eap@opencascade.com>
Tue, 25 Jan 2011 14:45:01 +0000 (14:45 +0000)
committereap <eap@opencascade.com>
Tue, 25 Jan 2011 14:45:01 +0000 (14:45 +0000)
src/SMESH/SMESH_subMesh.cxx

index 677b21fccb1ad85372faeb30e0e6b34052899146..d15405195f40f53da4ee50498ae6cf4512ac9af6 100644 (file)
@@ -1717,20 +1717,8 @@ bool SMESH_subMesh::CheckComputeError(SMESH_Algo* theAlgo, const TopoDS_Shape& t
       if ( _computeError->myComment.size() > 0 )
         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 );
-#endif
+
       _computeState = FAILED_TO_COMPUTE;
       noErrors = false;
     }