vtkPVSILInformation* info=vtkPVSILInformation::New();
reader->GatherInformation(info);
vtkGraph *g(info->GetSIL());
vtkPVSILInformation* info=vtkPVSILInformation::New();
reader->GatherInformation(info);
vtkGraph *g(info->GetSIL());
int idNames(0);
vtkAbstractArray *verticesNames(g2->GetVertexData()->GetAbstractArray("Names",idNames));
vtkStringArray *verticesNames2(vtkStringArray::SafeDownCast(verticesNames));
int idNames(0);
vtkAbstractArray *verticesNames(g2->GetVertexData()->GetAbstractArray("Names",idNames));
vtkStringArray *verticesNames2(vtkStringArray::SafeDownCast(verticesNames));
this->UI->SILUpdateStamp = stamp;
vtkPVSILInformation* info = vtkPVSILInformation::New();
reader->GatherInformation(info);
this->UI->SILUpdateStamp = stamp;
vtkPVSILInformation* info = vtkPVSILInformation::New();
reader->GatherInformation(info);
- this->UI->SILModel.update(info->GetSIL());
- this->UI->Fields->expandAll();
+ vtkGraph *sil(info->GetSIL());
+ if(sil)
+ {
+ this->UI->SILModel.update(sil);
+ this->UI->Fields->expandAll();
+ }