Don't write frames

This commit is contained in:
Nicolas Mowen 2024-08-16 08:46:45 -06:00
parent 5378f085ec
commit 4104f7131c

View File

@ -245,6 +245,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
)