1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-01 16:04:32 +00:00

Clean up logs

This commit is contained in:
Andrew Lanzone 2025-06-01 22:55:21 -07:00
parent ea71a0bb4f
commit 6bb92c0589

View file

@ -898,8 +898,7 @@ namespace MWGui
int activeIndex = std::clamp(mActiveControllerWindows[mode], 0, (int)state.mWindows.size() - 1);
// REMOVEME
Log(Debug::Error) << "getActiveControllerWindow: " << state.mWindows.size() << " windows in state, mActiveControllerWindows[mode] = " << mActiveControllerWindows[mode] << ", activeIndex=" << activeIndex;
Log(Debug::Debug) << "Getting active controller window: mode=" << mode << ", " << state.mWindows.size() << " window(s), activeIndex=" << activeIndex;
// If the active window is no longer visible, find the next visible window.
if (!state.mWindows[activeIndex]->isVisible())
@ -934,8 +933,7 @@ namespace MWGui
}
}
// REMOVEME
Log(Debug::Error) << "cycleActiveControllerWindow: mode=" << mode << ", activeIndex=" << activeIndex;
Log(Debug::Debug) << "Cycling active controller window: mode=" << mode << ", activeIndex=" << activeIndex;
if (mActiveControllerWindows[mode] != activeIndex)
setActiveControllerWindow(mode, activeIndex);