Fixed 3D scene mouse capture
This commit is contained in:
parent
41c093a258
commit
6ce686aff8
@ -3157,6 +3157,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||||||
}
|
}
|
||||||
else if (evt.Dragging() && m_gizmos.is_dragging())
|
else if (evt.Dragging() && m_gizmos.is_dragging())
|
||||||
{
|
{
|
||||||
|
if (!m_canvas->HasCapture())
|
||||||
m_canvas->CaptureMouse();
|
m_canvas->CaptureMouse();
|
||||||
|
|
||||||
m_mouse.dragging = true;
|
m_mouse.dragging = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user