Commit b68210c2 authored by Mathieu Westphal's avatar Mathieu Westphal

Fix vtkProgressBarRepresentation memory overstep

parent cb69e93a
Pipeline #19219 passed with stage
......@@ -55,7 +55,7 @@ vtkProgressBarRepresentation::vtkProgressBarRepresentation()
// Create the geometry in canonical coordinates
this->Points = vtkPoints::New();
this->Points->SetPoint(0, 0.2, 0.2, 0.0);
this->Points->SetPoint(1, 0.2, PROGRESS_BAR_HEIGHT, 0.0);
this->Points->SetPoint(2, PROGRESS_BAR_WIDTH,
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