ImGuizmo
ImGuizmo copied to clipboard
Add Push/Pop ID to replace SetID
I've changed the system a bit to support push/pop ID as I needed it to use in a project I'm making.
I've reused the functions and the way IDs are handled in ImGui so that the workflow is similar.
I've tried to keep the SetID
but marked it as deprecated as I don't think it fit the idea of ImGui.
Here is an example achieved using the IDs :
the gizmo at the center of the object don't have an ID (to keep this functionality working) and the 4 other point have IDs stacking in the following order ObjectID -> ComponentID -> IndexOfThePointInArray
I thought it might be a useful feature, so I'm doing a Pull Request.
This looks interesting/ Thanks for the contribution. Let me add a Github Action for PRs, I don't have much time for testing. I want to be sure it at least builds everywhere :)