Commit a4deb485 authored by Michael Migliore's avatar Michael Migliore Committed by Kitware Robot
Browse files

Merge topic 'fix-xy-sel'

85466a8a

 Fix vtkChartXY selection

Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Mathieu Westphal's avatarMathieu Westphal <mathieu.westphal@kitware.com>
Merge-request: !7374
parents 02910319 85466a8a
Pipeline #197593 failed with stage
in 0 seconds
......@@ -296,7 +296,8 @@ void vtkChartXY::Update()
vtkArrayDownCast<vtkIdTypeArray>(node->GetSelectionList());
for (vtkIdType j = 0; j < selectedColumns->GetNumberOfTuples(); ++j)
{
selectedPlots.push_back(this->ChartPrivate->PlotCache[j]);
vtkIdType id = selectedColumns->GetTypedComponent(j, 0);
selectedPlots.push_back(this->ChartPrivate->PlotCache[id]);
}
}
// Now iterate through the plots to update selection data
......
Supports Markdown
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