MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / RequestDeferredReload

Function RequestDeferredReload

engine/Poseidon/Dev/Debug/DebugOverlay.cpp:1815–1822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1813 s_selectMemoryTab = true;
1814}
1815
1816void RequestDeferredReload(const char* modPath)
1817{
1818 // Route through the Application's between-frames re-mount request (serviced at the top
1819 // of AppIdle, before any simulate/draw). Running the reload inside Render()/BackToFront
1820 // instead — mid-frame, after Simulate — left the rebuilt world's first Simulate touching
1821 // a torn-down sensor list (null SensorList, SensorList::CheckPos crash).
1822 Poseidon::GApp->RequestRemountWithMods(modPath);
1823}
1824
1825bool WantsKeyboard()

Callers 2

DrawModsTabFunction · 0.85

Calls 1

Tested by

no test coverage detected