Commit b1b0b635 authored by Robert Maynard's avatar Robert Maynard Committed by Will Schroeder

Get ThreadedSynchronizedTemplates3D to work with more than 4GB.

parent e897682a
......@@ -852,8 +852,8 @@ void vtkThreadedSynchronizedTemplates3D::ThreadedExecute(vtkImageData *data,
DoThreadedContour functor(this, exExt, data, inScalars, nPieces);
vtkSMPTools::For( 0, nPieces, functor );
int p = 0;
for (int i = 0; i < functor.GetNumberOfOutputPieces(); ++i)
vtkIdType p = 0;
for (vtkIdType i = 0; i < functor.GetNumberOfOutputPieces(); ++i)
{
vtkPolyData* piece = functor.GetOutputPiece(i);
output->SetBlock(p++, piece);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment