Skip to content
Snippets Groups Projects
Commit 1e31faf4 authored by Sujin Philip's avatar Sujin Philip
Browse files

Fix vtkPolyData Reset

Reset should delete the Links and Cells objects so that they can be rebuilt
when needed.
parent db1694bf
No related branches found
No related tags found
No related merge requests found
......@@ -1390,6 +1390,10 @@ void vtkPolyData::Reset()
{
this->Strips->Reset();
}
// discard Links and Cells
this->DeleteLinks();
this->DeleteCells();
}
//----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment