Browse Source

Do not capture logs if running in nogui mode

tags/v1.9.9
falkTX 7 years ago
parent
commit
79c5260093
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      source/carla_host.py

+ 3
- 0
source/carla_host.py View File

@@ -2646,6 +2646,9 @@ def loadHostSettings(host):
print("LADISH detected but using multiple clients (not allowed), forcing single client now")
host.nextProcessMode = host.processMode = ENGINE_PROCESS_MODE_SINGLE_CLIENT

if gCarla.nogui:
host.showLogs = False

# --------------------------------------------------------------------------------------------------------
# run headless host now if nogui option enabled



Loading…
Cancel
Save