diff --git a/FModel/Framework/ImGuiController.cs b/FModel/Framework/ImGuiController.cs index 6bd5c620..9181b4fb 100644 --- a/FModel/Framework/ImGuiController.cs +++ b/FModel/Framework/ImGuiController.cs @@ -58,8 +58,7 @@ public class ImGuiController : IDisposable IntPtr context = ImGui.CreateContext(); ImGui.SetCurrentContext(context); - IntPtr imguiCtx = ImGui.CreateContext(); - ImGui.SetCurrentContext(imguiCtx); + ImGuizmo.SetImGuiContext(context); var io = ImGui.GetIO(); unsafe