Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qt3D overlay is drawn using imgui which is imperative, so Qt3D needs to cache events until they are needed for the actual rendering of the overlay, especially since this happens in a different thread. When render policy is set to OnDemand though, Qt3D does not cache the entire history of events since the previous update and events can go missing or come out of sequence, which confuses imgui. This patch changes the render policy to Always while the overlay is visible, so it now responds to events. It will also provide more accurate display of performance data in that mode.
- Loading branch information