Add a forwarding ReplayController wrapper for python that auto invokes

This commit is contained in:
baldurk committed 2026-08-13 17:46:44 +01:00
1 parent 10272fa35b
commit 7fab2e0e0a
4 files changed
+410 -8

No files matched your search

+6
View File
@@ -292,6 +292,12 @@ void ReplayManager::AsyncInvoke(ReplayManager::ReplayInvokeCallback m)
void ReplayManager::BlockInvoke(ReplayManager::ReplayInvokeCallback m)
{
if(IsRunning() && m_Thread->isCurrentThread())
{
m(m_Renderer);
return;
}
InvokeHandle *cmd = new InvokeHandle(m);
PushInvoke(cmd);