Fixed mouse picking after gizmo usage

(and discovered more gizmo bugs...)
This commit is contained in:
Simon Lübeß
2025-03-29 15:13:08 +01:00
parent 400045b005
commit 9d0fb99e3d
+1 -1
View File
@@ -33,7 +33,7 @@ static class Handles
#unwarn #unwarn
bool result = ImGuizmo.Manipulate((.)&View, (.)&Projection, gizmoType, globalGizmo ? .WORLD : .LOCAL, (.)&transform, null, _snap.HasValue ? (.)&_snap : null); bool result = ImGuizmo.Manipulate((.)&View, (.)&Projection, gizmoType, globalGizmo ? .WORLD : .LOCAL, (.)&transform, null, _snap.HasValue ? (.)&_snap : null);
_usedGizmo |= ImGuizmo.IsUsing(); _usedGizmo = ImGuizmo.IsUsing();
return result; return result;
} }