mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-01 15:04:33 +00:00
Clean up logs
This commit is contained in:
parent
ea71a0bb4f
commit
6bb92c0589
1 changed files with 2 additions and 4 deletions
|
|
@ -898,8 +898,7 @@ namespace MWGui
|
||||||
|
|
||||||
int activeIndex = std::clamp(mActiveControllerWindows[mode], 0, (int)state.mWindows.size() - 1);
|
int activeIndex = std::clamp(mActiveControllerWindows[mode], 0, (int)state.mWindows.size() - 1);
|
||||||
|
|
||||||
// REMOVEME
|
Log(Debug::Debug) << "Getting active controller window: mode=" << mode << ", " << state.mWindows.size() << " window(s), activeIndex=" << activeIndex;
|
||||||
Log(Debug::Error) << "getActiveControllerWindow: " << state.mWindows.size() << " windows in state, mActiveControllerWindows[mode] = " << mActiveControllerWindows[mode] << ", activeIndex=" << activeIndex;
|
|
||||||
|
|
||||||
// If the active window is no longer visible, find the next visible window.
|
// If the active window is no longer visible, find the next visible window.
|
||||||
if (!state.mWindows[activeIndex]->isVisible())
|
if (!state.mWindows[activeIndex]->isVisible())
|
||||||
|
|
@ -934,8 +933,7 @@ namespace MWGui
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// REMOVEME
|
Log(Debug::Debug) << "Cycling active controller window: mode=" << mode << ", activeIndex=" << activeIndex;
|
||||||
Log(Debug::Error) << "cycleActiveControllerWindow: mode=" << mode << ", activeIndex=" << activeIndex;
|
|
||||||
|
|
||||||
if (mActiveControllerWindows[mode] != activeIndex)
|
if (mActiveControllerWindows[mode] != activeIndex)
|
||||||
setActiveControllerWindow(mode, activeIndex);
|
setActiveControllerWindow(mode, activeIndex);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue