[vtkusers] vtkImageStencil problem

David Gobbi david.gobbi at gmail.com
Mon Aug 27 14:48:19 EDT 2012

On Mon, Aug 27, 2012 at 11:50 AM, liulewes <lewes_infor at hotmail.com> wrote:
> Thanks David, I just tried your suggestions. However, it seems that the
> latest version does not solve the problem.
> Besides, I think line 549 in vtkImageStencilData.cxx should be fixed in
> V5.10. "if (clist != &this->ExtentListLengths[n + incr])" should be "if
> (clist != &this->ExtentListLengths[n + 2*incr])"
> otherwise will cause run time crash.

But that line already uses "[n + 2*incr]" in VTK 5.10.  Do you mean
line 623?  Because line 623 does look wrong... I'll investigate.

 - David

More information about the vtkusers mailing list