commit f984a5e0378ec7aa1238deddcaae55df51e16b41
parent 32da893de50c4eef85e4b945d3878b23699dfccb
Author: rbckman <robinbackman@gmail.com>
Date: Mon, 13 Aug 2018 21:57:05 +0300
dont try to overlay thumbnail while recording
Diffstat:
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -1636,14 +1636,15 @@ def main():
#Check if scene, shot, or take changed and update thumbnail
if oldscene != scene or oldshot != shot or oldtake != take or updatethumb == True:
- print 'okey something has changed'
- overlay = removeimage(camera, overlay)
- imagename = filmfolder + filmname + '/scene' + str(scene).zfill(3) + '/shot' + str(shot).zfill(3) + '/take' + str(take).zfill(3) + '.png'
- overlay = displayimage(camera, imagename)
- oldscene = scene
- oldshot = shot
- oldtake = take
- updatethumb = False
+ if recording == False:
+ print 'okey something has changed'
+ overlay = removeimage(camera, overlay)
+ imagename = filmfolder + filmname + '/scene' + str(scene).zfill(3) + '/shot' + str(shot).zfill(3) + '/take' + str(take).zfill(3) + '.png'
+ overlay = displayimage(camera, imagename)
+ oldscene = scene
+ oldshot = shot
+ oldtake = take
+ updatethumb = False
#Start Recording Time
if recording == True: