------------------------------------------------------------------------------
| 502 | |
| 503 | //------------------------------------------------------------------------------ |
| 504 | void vtkXMLCompositeDataReader::SetFileName(const char* fname) |
| 505 | { |
| 506 | if (fname == nullptr || this->GetFileName() == nullptr || strcmp(fname, this->GetFileName()) != 0) |
| 507 | { |
| 508 | // this is a disaster, but a necessary temporary workaround for paraview/paraview#20179: |
| 509 | // if filename changed, reset information about update-piece so that |
| 510 | // RequestInformation stage does not rely on potentially obsolete |
| 511 | // information. |
| 512 | this->Internal->ResetUpdateInformation(); |
| 513 | } |
| 514 | this->Superclass::SetFileName(fname); |
| 515 | } |
| 516 | |
| 517 | //------------------------------------------------------------------------------ |
| 518 | int vtkXMLCompositeDataReader::RequestInformation( |