Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SatyrDiamond committed Sep 8, 2023
1 parent 3523f5f commit d99b319
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin_output/wavtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ def parse(self, convproj_json, output_file):
wt_tracks.append(wt_track)

for autoname in [['vol','gain'],['pan','balance']]:
autopoints = auto.remove_instant(tracks.a_auto_nopl_getpoints(cvpj_l, ['track',cvpj_trackid,autoname[0]]), 0, False)
autopoints = tracks.a_auto_nopl_getpoints(cvpj_l, ['track',cvpj_trackid,autoname[0]])
if autopoints != None:
autopoints = auto.remove_instant(autopoints, 0, False)
if autoname[0] == 'pan': autopoints = auto.multiply_nopl(autopoints, 1, 0.5)
wt_trackauto = make_automation(autoname[0], cvpj_trackid, autoname[1], wt_trackid_ChanStrip, wt_trackid, autopoints, trackcolor)
wt_tracks.append(wt_trackauto)
Expand Down

0 comments on commit d99b319

Please sign in to comment.