Skip to content
Snippets Groups Projects
Commit b87561c3 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware) Committed by Jaswant Panchumarti (Kitware)
Browse files

Fix uninitialized member variable GLBatchElement::CellGroupId

- address vtk/vtk#19395
parent 85fd10a6
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ void vtkOpenGLLowMemoryBatchedPolyDataMapper::AddBatchElement(
if (found == this->VTKPolyDataToGLBatchElement.end())
{
GLBatchElement glBatchElement;
glBatchElement.CellGroupId = 0;
glBatchElement.Parent = std::move(element);
glBatchElement.Parent.Marked = true;
this->VTKPolyDataToGLBatchElement[address] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment