tarina

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

commit 917fe6666964298e9fbe9b1a81bab93df481e660
parent e9c0f19ae0eb5d3918e4343bd983a24f63b31eae
Author: rob <rob@tarina.org>
Date:   Thu, 26 Oct 2023 19:10:19 +0100

bug fix

Diffstat:
Mtarina.py | 23++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -345,17 +345,18 @@ def main(): camera.stop_preview() #renderfilename, newaudiomix = renderscene(filmfolder, filmname, scene) renderfilename = renderfilm(filmfolder, filmname, comp, scene, True) - remove_shots = playdub(filmname,renderfilename, 'film') - if remove_shots != []: - for i in remove_shots: - remove(filmfolder, filmname, scene, i, take, 'shot') - organize(filmfolder, filmname) - updatethumb = True - #loadfilmsettings = True - time.sleep(0.5) - else: - print('nothing to remove') - camera.start_preview() + if renderfilename != '': + remove_shots = playdub(filmname,renderfilename, 'film') + if remove_shots != []: + for i in remove_shots: + remove(filmfolder, filmname, scene, i, take, 'shot') + organize(filmfolder, filmname) + updatethumb = True + #loadfilmsettings = True + time.sleep(0.5) + else: + print('nothing to remove') + camera.start_preview() else: vumetermessage("There's absolutely nothing in this scene! hit rec!") rendermenu = True