Commit d12a9fa9 authored by Mathieu Westphal's avatar Mathieu Westphal Committed by Kitware Robot

Merge topic 'ScatterPlotMatrixAnimationFix'

aba1844b Fixing bug with plot matrix view when clicking rapidly
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarMarcus D. Hanwell <marcus.hanwell@kitware.com>
Merge-request: !635
parents 176a0dd6 aba1844b
......@@ -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