mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Don't update camera when mouse is over imgui.
This commit is contained in:
@@ -435,7 +435,7 @@ public:
|
||||
ImGui::End();
|
||||
|
||||
// Update camera.
|
||||
cameraUpdate(deltaTime, m_mouseState);
|
||||
cameraUpdate(deltaTime, m_mouseState, ImGui::MouseOverArea() );
|
||||
|
||||
float view[16];
|
||||
cameraGetViewMtx(view);
|
||||
|
||||
Reference in New Issue
Block a user