Commit 80c9a0d4 authored by Michael Migliore's avatar Michael Migliore

Fix crash when a prop doesn't have bounds

parent 55179f12
Pipeline #134993 failed with stage
......@@ -434,6 +434,10 @@ void vtkShadowMapBakerPass::Render(const vtkRenderState *s)
while ((prop = props->GetNextProp(cookie)) != nullptr)
{
const double* bounds = prop->GetBounds();
if (!bounds)
{
continue;
}
if (first)
{
bb[0] = bounds[0];
......
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