finish rendering if at minimum (#91)

* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* interrupting function during rendering

* small linting fixes

* added logic for interrupting rendering + separted out visualizer logic from trainer

* finish rendering if at minimum

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
This commit is contained in:
evonnengandEthan Weber authored and GitHub committed 2022-07-06 17:08:24 -07:00
1 parent 56661b5d9a
commit c2ca0f2958
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ class VisualizerState:
def _check_interrupt(self, frame, event, arg):
if event == "line":
if self.check_interrupt_vis:
if self.check_interrupt_vis and self.res_upscale_factor > 1:
raise CameraChangeException
return self._check_interrupt