Commit 2e73a40d authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

Initialize the polygon selection to NO_BUTTON

This fixes a valgrind error reported on the dashboards.

Change-Id: Iade2c065276fcccc8e173b018237ad1c2c42f864
parent cd2f8f8e
......@@ -30,6 +30,7 @@ vtkChart::MouseActions::MouseActions()
this->Data[0] = vtkContextMouseEvent::LEFT_BUTTON;
this->Data[1] = vtkContextMouseEvent::MIDDLE_BUTTON;
this->Data[2] = vtkContextMouseEvent::RIGHT_BUTTON;
this->Data[3] = vtkContextMouseEvent::NO_BUTTON;
}
//-----------------------------------------------------------------------------
......
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