From 86f3bb763aecc8d9e41ec8c087f9b4cc59c1d464 Mon Sep 17 00:00:00 2001 From: TNTwise Date: Thu, 19 Sep 2024 22:55:50 -0500 Subject: [PATCH] fix error --- backend/src/RenderVideo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/RenderVideo.py b/backend/src/RenderVideo.py index 5c169bdc..eba0408e 100644 --- a/backend/src/RenderVideo.py +++ b/backend/src/RenderVideo.py @@ -210,9 +210,10 @@ def renderInterpolate(self): if not self.isPaused: self.writeQueue.put(self.frame0) frame1 = self.readQueue.get() - setupFrame1 = self.frameSetupFunction(frame1) if frame1 is None: break + setupFrame1 = self.frameSetupFunction(frame1) + if frameNum != self.transitionFrame: for n in range(self.ceilInterpolateFactor - 1): @@ -235,7 +236,7 @@ def renderInterpolate(self): else: sleep(1) removeFile(self.pausedFile) - self.writeQueue.put(self.frame0) + self.writeQueue.put(None) log("Finished Interpolation")