Commit 511c6a44 authored by David C. Lonie's avatar David C. Lonie

Prevent crash in HiddenLineRemovalPass.

Fix a bug where a NULL pointer may be dereferenced.
parent 94d03e0b
......@@ -79,11 +79,11 @@ void vtkHiddenLineRemovalPass::Render(const vtkRenderState *s)
}
if (isWireframe)
{
wireframeProps.push_back(actor);
wireframeProps.push_back(prop);
}
else
{
otherProps.push_back(actor);
otherProps.push_back(prop);
}
}
......
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