mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 11:10:33 +05:00
0020577: EDF 1164 SMESH: Bad dump of concatenate with create common groups
This commit is contained in:
parent
64f246d40e
commit
f2eada3ede
@ -1879,7 +1879,8 @@ SMESH_Gen_i::ConcatenateCommon(const SMESH::mesh_array& theMeshesArray,
|
||||
typedef map< pair<string, SMESH::ElementType>, TListOfNewGroups > TGroupsMap;
|
||||
typedef std::set<SMESHDS_GroupBase*> TGroups;
|
||||
|
||||
TPythonDump aPythonDump; // prevent dump of called methods
|
||||
TPythonDump* pPythonDump = new TPythonDump;
|
||||
TPythonDump& aPythonDump = *pPythonDump; // prevent dump of called methods
|
||||
|
||||
// create mesh
|
||||
SMESH::SMESH_Mesh_var aNewMesh = CreateEmptyMesh();
|
||||
@ -2147,6 +2148,13 @@ SMESH_Gen_i::ConcatenateCommon(const SMESH::mesh_array& theMeshesArray,
|
||||
<< theMergeNodesAndElements << ", "
|
||||
<< theMergeTolerance << ")";
|
||||
|
||||
delete pPythonDump; // enable python dump from GetGroups()
|
||||
|
||||
// 0020577: EDF 1164 SMESH: Bad dump of concatenate with create common groups
|
||||
if ( !aNewMesh->_is_nil() )
|
||||
{
|
||||
SMESH::ListOfGroups_var groups = aNewMesh->GetGroups();
|
||||
}
|
||||
return aNewMesh._retn();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user