Files
OrcaSlicer/deps_src
Lam Wei Lun 61e1841f9d fix: let the 3D navigator keep the mouse for the whole drag (#17284)
The navigator is drawn into ImGuizmo's NoInputs "gizmo" window, so ImGui
never owns the press (mouse_avail_to_imgui is false) and WantCaptureMouse
only reflects what the previous frame requested. ViewManipulate asked for
capture only on frames with a non-zero MouseDelta, so the still frame that
follows the press dropped it.

The next motion event then reached the canvas, which latched it as a camera
drag. With an object behind the navigator that drag is refused at
GLCanvas3D::on_mouse (the m_hover_volume_idxs gate of the rotate branch),
so nothing marked the scene dirty, no frame rendered, and the navigator never
rotated. The armed isClicking survived to the release frame and snapped the
view to the pressed panel instead.

Request capture for as long as the press is held, so the navigator owns the
whole gesture.

Fixes #17282
2026-11-05 13:32:32 +08:00
..
2025-09-26 17:16:20 +08:00
2026-07-02 17:49:36 +08:00
2025-08-22 20:02:26 +08:00