From: geay Date: Wed, 26 Mar 2014 10:40:39 +0000 (+0100) Subject: Correct bug of SIGSEGV when attempting to filter on an empty group/family. X-Git-Tag: V7_4_0a1^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3e295aa99b7f469497f96ef299e016d4fae6c4d;p=modules%2Fparavis.git Correct bug of SIGSEGV when attempting to filter on an empty group/family. --- diff --git a/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx b/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx index 5eab0e90..d5fb9fb1 100644 --- a/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx +++ b/src/Plugins/MEDReader/IO/vtkExtractGroup.cxx @@ -612,7 +612,7 @@ int vtkExtractGroup::RequestData(vtkInformation *request, vtkInformationVector * } else { - vtkDataSet *tryOnNode(FilterFamilies(tryOnCell,idsToKeep,this->InsideOut, + vtkDataSet *tryOnNode(FilterFamilies(input,idsToKeep,this->InsideOut, MEDFileFieldRepresentationLeavesArrays::FAMILY_ID_NODE_NAME,"vtkDataObject::FIELD_ASSOCIATION_POINTS",catchAll,catchSmth)); if(tryOnNode) { diff --git a/src/Plugins/MEDReader/TODO.txt b/src/Plugins/MEDReader/TODO.txt index 193cada4..e0f1a201 100644 --- a/src/Plugins/MEDReader/TODO.txt +++ b/src/Plugins/MEDReader/TODO.txt @@ -55,4 +55,10 @@ when in STANDALONE mode. 0 - ELGA arrays choice of GaussPoints filter -0 - Manage file containing only cartesian meshes. \ No newline at end of file +0 - Manage file containing only cartesian meshes. + +0 - Bug on vtkExtractGroup when attempting to extract on empty group. Previously, it led to SIGSEGV. + +0 - Add the frequency information in mode mode in the name of arrays in DataSet. + +0 - Addition of MeshName property in ExtractGroup (see testMEDReader9.py) \ No newline at end of file