Eliminated data race
Subsequent refactoring using the vtkCellArray::Visit() method introduced a data race (simultaneous writes). The cell array's internal offset array needs to be finalized just one time, not every time a cell is inserted.
Subsequent refactoring using the vtkCellArray::Visit() method introduced a data race (simultaneous writes). The cell array's internal offset array needs to be finalized just one time, not every time a cell is inserted.