mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
fix invalid index_size in e3d serialization, fix missing parent message, move captureonstart after crashreporter gui
This commit is contained in:
@@ -911,14 +911,6 @@ eu07_application::init_glfw() {
|
||||
::SetWindowPos( Hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );
|
||||
#endif
|
||||
|
||||
if (Global.captureonstart)
|
||||
{
|
||||
Global.ControlPicking = false;
|
||||
glfwSetInputMode(mainwindow, GLFW_CURSOR, GLFW_CURSOR_DISABLED);
|
||||
}
|
||||
else
|
||||
Global.ControlPicking = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1043,6 +1035,14 @@ eu07_application::init_modes() {
|
||||
else
|
||||
push_mode( mode::scenarioloader );
|
||||
|
||||
if (Global.captureonstart)
|
||||
{
|
||||
Global.ControlPicking = false;
|
||||
glfwSetInputMode(m_windows.front(), GLFW_CURSOR, GLFW_CURSOR_DISABLED);
|
||||
}
|
||||
else
|
||||
Global.ControlPicking = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user