| 6359 | } |
| 6360 | |
| 6361 | void vtkExodusIIReader::SetHierarchyArrayStatus(int vtkNotUsed(index), int vtkNotUsed(flag)) |
| 6362 | { |
| 6363 | //// Only modify if we are 'out of sync' |
| 6364 | ////if (this->GetHierarchyArrayStatus(index) != flag) |
| 6365 | //// { |
| 6366 | // if (this->Metadata->Parser) |
| 6367 | // { |
| 6368 | // std::vector<int> blocksIds = this->Metadata->Parser->GetBlocksForEntry(index); |
| 6369 | // for (std::vector<int>::size_type i=0;i<blocksIds.size();i++) |
| 6370 | // { |
| 6371 | // this->Metadata->SetObjectStatus(vtkExodusIIReader::ELEM_BLOCK, |
| 6372 | // this->GetObjectIndex(ELEM_BLOCK,blocksIds[i]),flag); |
| 6373 | // } |
| 6374 | // |
| 6375 | // // Because which materials are on/off affects the |
| 6376 | // // geometry we need to remake the mesh cache |
| 6377 | // //this->RemakeDataCacheFlag = 1; |
| 6378 | // this->Modified(); |
| 6379 | // } |
| 6380 | } |
| 6381 | |
| 6382 | void vtkExodusIIReader::SetHierarchyArrayStatus(const char* vtkNotUsed(name), int vtkNotUsed(flag)) |
| 6383 | { |