16
0
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:
tmj-fstate
2019-10-02 22:45:41 +02:00
parent 0e62593121
commit 07ba31cd7b
5 changed files with 35 additions and 9 deletions

View File

@@ -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();