remove debug entries and cleanup
This commit is contained in:
parent
5e7d512a5e
commit
758e688db1
|
|
@ -417,7 +417,6 @@ void removeSearchPath(int typeId, QString pathToRemove);
|
|||
# @removeMidiTrack()
|
||||
|
||||
injectMidiToTrackAssignments: `async function() {
|
||||
console.log('_DEBUG_ injectMidiToTrackAssignments vstTrackAssignments', this.vstTrackAssignments)
|
||||
if (this.vstTrackAssignments != null) {
|
||||
//(async () => {
|
||||
for (let vst of Array.from(this.vstTrackAssignments.vsts)) {
|
||||
|
|
@ -433,7 +432,6 @@ void removeSearchPath(int typeId, QString pathToRemove);
|
|||
midi = [{assignment: MIDI_TRACK}];
|
||||
midi.instrument_id = instrument_id;
|
||||
midi.assignment = MIDI_TRACK;
|
||||
console.log('_DEBUG_ injectMidiToTrackAssignments midi', midi)
|
||||
this.trackAssignments.inputs.assigned.push(midi);
|
||||
}
|
||||
}
|
||||
|
|
@ -446,11 +444,8 @@ void removeSearchPath(int typeId, QString pathToRemove);
|
|||
}
|
||||
}`
|
||||
|
||||
#TODO: make asyncronus
|
||||
# changed: () ->
|
||||
# console.log('_DEBUG_ before injectMidiToTrackAssignments')
|
||||
# @injectMidiToTrackAssignments()
|
||||
# console.log('_DEBUG_ after injectMidiToTrackAssignments')
|
||||
|
||||
# @editingTrack = []
|
||||
# @editingTrack.assignment = @trackNumber
|
||||
|
|
@ -495,16 +490,12 @@ void removeSearchPath(int typeId, QString pathToRemove);
|
|||
# trackType: @trackType,
|
||||
# scanPaths: @scanPaths
|
||||
# }
|
||||
# console.log('_DEBUG_ changed @item', @item)
|
||||
|
||||
# @trigger(@item)
|
||||
|
||||
changed: `async function() {
|
||||
let inputsForTrack, vst;
|
||||
console.log('_DEBUG_ before injectMidiToTrackAssignments');
|
||||
console.trace()
|
||||
await this.injectMidiToTrackAssignments();
|
||||
console.log('_DEBUG_ after injectMidiToTrackAssignments');
|
||||
|
||||
this.editingTrack = [];
|
||||
this.editingTrack.assignment = this.trackNumber;
|
||||
|
|
@ -557,7 +548,6 @@ void removeSearchPath(int typeId, QString pathToRemove);
|
|||
trackType: this.trackType,
|
||||
scanPaths: this.scanPaths
|
||||
};
|
||||
console.log('_DEBUG_ changed @item', this.item);
|
||||
|
||||
this.trigger(this.item);
|
||||
}`
|
||||
|
|
@ -1119,4 +1109,4 @@ void removeSearchPath(int typeId, QString pathToRemove);
|
|||
}`
|
||||
|
||||
}
|
||||
)
|
||||
)
|
||||
Loading…
Reference in New Issue