Don't write frames

This commit is contained in:
Nicolas Mowen 2024-08-16 08:46:45 -06:00
parent 5c8145171a
commit 4c919f23ef

View File

@ -244,6 +244,9 @@ class PreviewRecorder:
frame_time: float,
) -> bool:
"""Decide if this frame should be added to PREVIEW."""
if not self.config.record.enabled:
return False
active_objs = get_active_objects(
frame_time, self.config, current_tracked_objects
)