Commit 9ab1a120 authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot

Merge topic '17265-reslicemapper-render' into release

fd6b906b 17265: Fix OpenGL2 vtkImageResliceMapper OOB issue
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4076
parents c1b84e01 fd6b906b
......@@ -465,6 +465,10 @@ void vtkOpenGLImageSliceMapper::RenderPolygon(
polyTCoords->Modified();
}
}
else // no polygon to render
{
return;
}
if (textured)
{
......@@ -596,6 +600,10 @@ void vtkOpenGLImageSliceMapper::RenderBackground(
dy0 = dy1;
}
}
else // no polygon to render
{
return;
}
polyPoints->GetData()->Modified();
tris->Modified();
......
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