Browse Source

Add additionalData parameter for startEngine. This is from template, we don't use it.

master
Nils 2 years ago
parent
commit
2b52137f4e
  1. 4
      engine/api.py
  2. 2
      engine/config.py

4
engine/api.py

@ -277,8 +277,8 @@ def updatePlayback():
#TODO: use template.sequencer.py internal updates instead
cbox.Document.get_song().update_playback()
def startEngine(nsmClient):
_templateStartEngine(nsmClient) #loads save files or creates empty structure.
def startEngine(nsmClient, additionalData:dict={}):
_templateStartEngine(nsmClient, additionalData) #loads save files or creates empty structure.
session.inLoopMode = None # remember if we are in loop mode or not. Positive value is None or a tuple with start and end

2
engine/config.py

@ -61,5 +61,5 @@ musical notes. Switch the patterns on and off in a sequence to create a song str
Connect external synthesizers and samplers to create sounds.
""",
"dependencies" : "\n".join("* "+dep for dep in ()),
"dependencies" : "\n".join("* "+dep for dep in ("",)), #the tuple in the end should be strings. This is for the manual, not for automatic packaging.
}

Loading…
Cancel
Save