From cecd3b7fe62b257329de96eb348057a59864ccd1 Mon Sep 17 00:00:00 2001 From: Asval Date: Fri, 28 Mar 2025 19:23:51 +0100 Subject: [PATCH] small fix --- FModel/Framework/ImGuiController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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