Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show the ELGA array.
[modules/paravis.git]
/
src
/
Plugins
/
MEDReader
/
ParaViewPlugin
/
pqMEDReaderPanel.cxx
diff --git
a/src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderPanel.cxx
b/src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderPanel.cxx
index b425bd38c4496e09f1718047d8735a917f19b21d..ed70bd528bedea8e35b5c2c3d0dd2e89053168e2 100644
(file)
--- a/
src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderPanel.cxx
+++ b/
src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderPanel.cxx
@@
-135,6
+135,8
@@
void pqMEDReaderPanel::initAll()
vtkPVSILInformation *info(vtkPVSILInformation::New());
reader->GatherInformation(info);
vtkGraph *g(info->GetSIL());
vtkPVSILInformation *info(vtkPVSILInformation::New());
reader->GatherInformation(info);
vtkGraph *g(info->GetSIL());
+ if(!g)//something wrong server side...
+ return ;
vtkMutableDirectedGraph *g2(vtkMutableDirectedGraph::SafeDownCast(g));
int idNames(0);
vtkAbstractArray *verticesNames(g2->GetVertexData()->GetAbstractArray("Names",idNames));
vtkMutableDirectedGraph *g2(vtkMutableDirectedGraph::SafeDownCast(g));
int idNames(0);
vtkAbstractArray *verticesNames(g2->GetVertexData()->GetAbstractArray("Names",idNames));