Commit 09efa171 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell Committed by Code Review
Browse files

Merge topic 'plot-reset-selection' into master

acf00d72 Reset the plot's selection when select is called
parents ea2ad36e acf00d72
......@@ -164,12 +164,20 @@ vtkStdString vtkPlot::GetNumber(double position, vtkAxis *axis)
//-----------------------------------------------------------------------------
bool vtkPlot::SelectPoints(const vtkVector2f&, const vtkVector2f&)
{
if (this->Selection)
{
this->Selection->SetNumberOfTuples(0);
}
return false;
}
//-----------------------------------------------------------------------------
bool vtkPlot::SelectPointsInPolygon(const vtkContextPolygon &)
{
if (this->Selection)
{
this->Selection->SetNumberOfTuples(0);
}
return false;
}
......
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