PVblockMeshReader: Remove old vertex labels on refresh

This commit is contained in:
Henry Weller
2016-11-05 21:41:32 +00:00
parent fe415ff8f7
commit 74cfb6bf34

View File

@ -224,6 +224,7 @@ void vtkPVblockMeshReader::SetRefresh(int val)
// Delete the current blockMesh to force re-read and update
if (foamData_)
{
updatePointNumbersView(false);
delete foamData_;
foamData_ = 0;
}