Closed FatCatGames closed 2 years ago
Can you repro in the sample?
Had a look at the demo and found the fix, I had to call this before beginning my scene window:
ImGui::Begin("gizmo", NULL, flags);
ImGuizmo::SetDrawlist(ImGui::GetWindowDrawList());
ImGui::End();
Then it works even if you change the name of the window!
I want the name of my scene window to get a * at the end if there are any unsaved changes, but as soon as the name of the window is changed the gizmo stops being responsive, does not get highlighted when hovered, and can not be manipulated. Saving the scene changes the name back to what it was originally, but even that doesn't fix the problem, once it stops being responsive it doesn't go back.