From 362f6a069ceff884bd8aceec757d795b1b6ea2c0 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Mon, 18 Feb 2019 11:59:26 +0100 Subject: [PATCH] 2nd attempt to fix #1788 --- src/slic3r/GUI/GLCanvas3D.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 78348c065..f60e58685 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -5501,9 +5501,9 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt) else if (evt.RightDown()) { m_mouse.position = pos.cast(); -// // forces a frame render to ensure that m_hover_volume_id is updated even when the user right clicks while -// // the context menu is already shown, ensuring it to disappear if the mouse is outside any volume -// render(); + // forces a frame render to ensure that m_hover_volume_id is updated even when the user right clicks while + // the context menu is already shown + render(); if (m_hover_volume_id != -1) { // if right clicking on volume, propagate event through callback (shows context menu)