tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 19a57a26b8b2996978381d9c6f8f8ca2913451a1
parent ea0c29849dc1ee2cca9713fc4ef46badf6d2d40d
Author: rbckman <rob@tarina.org>
Date:   Sat,  1 Jan 2022 10:41:15 +0000

fix render bug when only one shot in a scene

Diffstat:
Mtarina.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tarina.py b/tarina.py @@ -1819,6 +1819,7 @@ def compileshot(filename): def shotfiles(filmfolder, filmname, scene): files = [] shots = countshots(filmname,filmfolder,scene) + print("shots"+str(shots)) shot = 1 while shot <= shots: takes = counttakes(filmname,filmfolder,scene,shot) @@ -1826,6 +1827,7 @@ def shotfiles(filmfolder, filmname, scene): folder = filmfolder + filmname + '/' + 'scene' + str(scene).zfill(3) + '/shot' + str(shot).zfill(3) + '/' filename = 'take' + str(takes).zfill(3) files.append(folder + filename) + print(files) shot = shot + 1 #writemessage(str(len(shotfiles))) #time.sleep(2) @@ -1877,7 +1879,7 @@ def renderaudio(audiofiles, filename, dubfiles, dubmix): audiomerge = ['sox'] #if render > 2: # audiomerge.append(filename + '.wav') - if len(audiofiles) > 1: + if len(audiofiles) > 0: for f in audiofiles: audiomerge.append(f + '.wav') audiomerge.append(filename + '.wav')