Salome HOME
23258: [CEA 1804] Do not merge the middle nodes of quadratic elements
authoreap <eap@opencascade.com>
Wed, 15 Mar 2017 10:22:02 +0000 (13:22 +0300)
committereap <eap@opencascade.com>
Wed, 15 Mar 2017 10:22:02 +0000 (13:22 +0300)
 Fix Python dump and compilation on Debian-7

src/SMDS/SMDS_VolumeTool.hxx
src/SMESH_I/SMESH_Group_i.cxx
src/SMESH_I/SMESH_MeshEditor_i.cxx

index 5c2c882f6fe0cfefa7dc19aee6a304a2dae98c78..4e018c0c73c1828080826921b797fe07ff170154 100644 (file)
@@ -63,7 +63,7 @@ class SMDS_EXPORT SMDS_VolumeTool
 
   bool Set( const SMDS_MeshElement*                  theVolume,
             const bool                               ignoreCentralNodes = true,
-            const std::vector<const SMDS_MeshNode*>* nodes = NULL);
+            const std::vector<const SMDS_MeshNode*>* nodes = 0);
   // Set volume.
   // Return false if theVolume is not of type SMDSAbs_Volume.
   // ignoreCentralNodes makes skip nodes at face centers when returning
index 7df1384caa24d0f716c5cf7621dc44525bc08f1f..d9c4b0961d208e34d40bcacc65d9bff6804a6e37 100644 (file)
@@ -480,7 +480,6 @@ SMESH::long_array* SMESH_GroupBase_i::GetListOfID()
     if ( 0 < aSize && aSize < 100 ) // for comfortable testing ;)
       std::sort( &aRes[0], &aRes[0]+aSize );
   }
-  MESSAGE("get list of IDs of a vague group");
   return aRes._retn();
 }
 
@@ -673,7 +672,6 @@ void SMESH_GroupBase_i::SetColorNumber(CORBA::Long color)
     aGroupDS->SetColorGroup(color);
     TPythonDump()<<SMESH::SMESH_GroupBase_var(_this())<<".SetColorNumber( "<<color<<" )";
   }
-  MESSAGE("set color number of a group");
   return ;
 }
 
index c0248c87e1fc33eb5d59edbaabbaa20f63957d4d..0ba74d70ffef6b3c0fb393d661c3a951ee6dbe9f 100644 (file)
@@ -4206,7 +4206,7 @@ void SMESH_MeshEditor_i::MergeNodes (const SMESH::array_of_long_array& GroupsOfN
 
   getEditor().MergeNodes( aListOfListOfNodes, AvoidMakingHoles );
 
-  aTPythonDump << "], " << NodesToKeep << ")";
+  aTPythonDump << "], " << NodesToKeep << ", " << AvoidMakingHoles << ")";
 
   declareMeshModified( /*isReComputeSafe=*/false );