blc - Simple program for rendering QLC+ workspaces properly/without crashing. Developed into BLC2.

git clone https://benconnors.ca/git-repos/blc

About | Log | Files | Refs

commit 422b8f7485b95278d0207a7749577dd960f5f206
parent a51746f63d5c55c03cee4e95a36129fe86b53b14
Author: Ben Connors <benconnors@outlook.com>
Date:   Fri, 22 Feb 2019 23:12:15 -0500

Fix Show render_all

- Nest in tuple to match Chaser

Diffstat:
Mblc/workspace.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/blc/workspace.py b/blc/workspace.py @@ -772,7 +772,7 @@ class Show(Function, PreRenderable): This function returns: - cues, audio_cues + ((cues, audio_cues,),) Where cues is of the form: @@ -819,7 +819,7 @@ class Show(Function, PreRenderable): break t += max(nx, minnx) - return tuple(cues), tuple(sorted(acues, key=lambda a: a[1])) + return ((tuple(cues), tuple(sorted(acues, key=lambda a: a[1])),),) def __init__(self, id_, name, tracks): scope = set()