mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 06:39:18 +02:00
ai brake release logic tweak, auto sandbox cab control fix, sound source fixes
This commit is contained in:
@@ -111,7 +111,7 @@ auto python_taskqueue::init() -> bool {
|
||||
// release the lock, save the state for future use
|
||||
m_mainthread = PyEval_SaveThread();
|
||||
|
||||
WriteLog( "Python Interpreter setup complete" );
|
||||
WriteLog( "Python Interpreter: setup complete" );
|
||||
|
||||
// init workers
|
||||
for( auto &worker : m_workers ) {
|
||||
@@ -319,6 +319,7 @@ void python_taskqueue::run( GLFWwindow *Context, rendertask_sequence &Tasks, thr
|
||||
void
|
||||
python_taskqueue::error() {
|
||||
|
||||
ErrorLog( "Python Interpreter: encountered error" );
|
||||
if( m_stderr != nullptr ) {
|
||||
// std err pythona jest buforowane
|
||||
PyErr_Print();
|
||||
|
||||
Reference in New Issue
Block a user