From 92aa39ce6e01d2f46da9549e18f33a1d0a8730a8 Mon Sep 17 00:00:00 2001 From: maj00r Date: Thu, 15 Oct 2026 17:29:04 +0200 Subject: [PATCH] fix(editor): dragging a point of a selected track no longer hands the drag to the gizmo, which jumped under the cursor and lifted the point in the plane of the screen; the gizmo is switched off while a point is dragged --- application/editormodetrackgizmo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/editormodetrackgizmo.cpp b/application/editormodetrackgizmo.cpp index 18d01f8b..281f747e 100644 --- a/application/editormodetrackgizmo.cpp +++ b/application/editormodetrackgizmo.cpp @@ -718,7 +718,10 @@ void editor_mode::render_track_gizmo() if (operation == gizmo_operation::rotate) gizmo = ImGuizmo::ROTATE_X | ImGuizmo::ROTATE_Y | ImGuizmo::ROTATE_Z; ImGuizmo::AllowAxisFlip(operation != gizmo_operation::scale); + if (m_point_drag.active) + ImGuizmo::Enable(false); frame.manipulate(gizmo, m_track_gizmo, operation == gizmo_operation::translate ? m_gizmo_snap : 0.0f, &delta, operation == gizmo_operation::translate ? ImGuizmo::WORLD : ImGuizmo::LOCAL); + ImGuizmo::Enable(true); ImGuizmo::AllowAxisFlip(true); if (false == ImGuizmo::IsUsing())