Fixed post-commit compilation problems

This commit is contained in:
YuSanka 2018-08-24 16:20:19 +02:00
parent 8b148a4fe4
commit 90fcdd4e5f
6 changed files with 32 additions and 40 deletions

View file

@ -2952,12 +2952,6 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
#endif
}
else if (evt.Leaving())
{
// to remove hover when mouse goes out of this canvas
m_mouse.position = Pointf((coordf_t)pos.x, (coordf_t)pos.y);
render();
}
else if (evt.Leaving())
{
// to remove hover on objects when the mouse goes out of this canvas
m_mouse.position = Vec2d(-1.0, -1.0);