Martin Gerhardy
Martin Gerhardy
I'm not sure if this is the best approach - but I am doing this: ```cpp ImGuiTestEngineIO& test_io = ImGuiTestEngine_GetIO(_engine); test_io.ConfigLogToTTY = true; ``` in the docking branch I don't...
I just do fake mouse moves in my viewport widget to particular positions and then do the `ctx->MouseClick()` calls. e.g. the linked test is an easy way to move the...
this is related: https://github.com/CedricGuillemet/ImGuizmo/pull/170 - but the patch to fix it doesn't work for me - it makes the scale handle unusable.
the interesting fact here is that the value that is computed here is not used at all it's overwritten a few lines below with a different value... (`gContext.mScreenFactor`)
So the fix is this: ```diff diff --git a/src/modules/ui/dearimgui/ImGuizmo.cpp b/src/modules/ui/dearimgui/ImGuizmo.cpp index 6993c207b..13aa7edc4 100644 --- a/src/modules/ui/dearimgui/ImGuizmo.cpp +++ b/src/modules/ui/dearimgui/ImGuizmo.cpp @@ -1067,7 +1067,6 @@ namespace IMGUIZMO_NAMESPACE // compute scale from the size of...
There is a commit in https://github.com/CedricGuillemet/ImGuizmo/pull/170 that does this as far as I can see.
It's basically "just" the decompose - if you really need this and handle all the cases like the face culling, you could check out `glm::decompose`. I got it working in...
1fb8266a7604cc7cc22a8a5a699613349cc88ee0 fixed the missing scroll for the scene graph panel
the second frame doesn't get the 180 degree rotation from its parent anymore. adding a keyframe for that child node fixes the rotation again