From d7f0a306f926336d8c3aa2b056a6a968ef502621 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 21 Aug 2009 09:22:45 +0000 Subject: [PATCH] Fix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call --- src/SMESH_I/SMESH_Filter_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_Filter_i.cxx b/src/SMESH_I/SMESH_Filter_i.cxx index 933239e59..c75d81e88 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -2099,7 +2099,7 @@ SetMesh( SMESH_Mesh_ptr theMesh ) if(!CORBA::is_nil(myMesh)) myMesh->Destroy(); - myMesh = theMesh; + myMesh = SMESH_Mesh::_duplicate( theMesh ); TPythonDump()<