Commit aba1844b authored by Mathieu Westphal's avatar Mathieu Westphal

Fixing bug with plot matrix view when clicking rapidly

http://www.vtk.org/Bug/view.php?id=15708
parent dcadad3b
......@@ -1125,6 +1125,12 @@ bool vtkScatterPlotMatrix::MouseButtonPressEvent(const vtkContextMouseEvent &)
bool vtkScatterPlotMatrix::MouseButtonReleaseEvent(
const vtkContextMouseEvent &mouse)
{
// Check we are not currently already animating
if (this->Private->TimerCallbackInitialized)
{
return true;
}
// Work out which scatter plot was clicked - make that one the active plot.
vtkVector2i pos = this->GetChartIndex(mouse.GetPos());
......
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