Fix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call

This commit is contained in:
vsr 2009-08-21 09:22:45 +00:00
parent 6b1e25a667
commit d7f0a306f9

View File

@ -2099,7 +2099,7 @@ SetMesh( SMESH_Mesh_ptr theMesh )
if(!CORBA::is_nil(myMesh))
myMesh->Destroy();
myMesh = theMesh;
myMesh = SMESH_Mesh::_duplicate( theMesh );
TPythonDump()<<this<<".SetMesh("<<theMesh<<")";
}