Commit 15841f3c authored by Mathieu Westphal's avatar Mathieu Westphal Committed by Kitware Robot

Merge topic 'vtkProgressBarRepresentationMemoryFix'

b68210c2 Fix vtkProgressBarRepresentation memory overstep
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Joachim Pouderoux's avatarJoachim Pouderoux <joachim.pouderoux@kitware.com>
Merge-request: !1687
parents f5a0c0fa b68210c2
Pipeline #19232 running with stage
in 25 minutes and 31 seconds
......@@ -55,7 +55,7 @@ vtkProgressBarRepresentation::vtkProgressBarRepresentation()
// Create the geometry in canonical coordinates
this->Points = vtkPoints::New();
this->Points->SetDataTypeToDouble();
this->Points->SetNumberOfPoints(10);
this->Points->SetNumberOfPoints(8);
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