mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-21 01:51:15 +01:00
Fixed rendering preview faild when logs/output empty
This commit is contained in:
@@ -58,11 +58,12 @@ while True:
|
|||||||
fps = int(settingsRoot[0].text)
|
fps = int(settingsRoot[0].text)
|
||||||
width = int(settingsRoot[1].text)
|
width = int(settingsRoot[1].text)
|
||||||
StickDistance = _map(int(settingsRoot[2].text), 0, 100, 5, 105)
|
StickDistance = _map(int(settingsRoot[2].text), 0, 100, 5, 105)
|
||||||
logs = settingsRoot[4].text[1:][:-1].split("\"\"")
|
|
||||||
output = settingsRoot[5].text
|
|
||||||
|
|
||||||
if(command == "startRendering"):
|
if(command == "startRendering"):
|
||||||
|
|
||||||
|
logs = settingsRoot[4].text[1:][:-1].split("\"\"")
|
||||||
|
output = settingsRoot[5].text
|
||||||
|
|
||||||
logCount = len(logs)
|
logCount = len(logs)
|
||||||
logNumber = 1
|
logNumber = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user