only draw thicker box if autotracking is enabled

This commit is contained in:
Josh Hawkins 2023-07-02 13:10:17 -05:00
parent f05ca2b9c6
commit e883e00c74

View File

@ -493,7 +493,8 @@ class CameraState:
# draw thicker box around ptz autotracked object
if (
self.ptz_autotracker_thread.ptz_autotracker.tracked_object[
self.camera_config.onvif.autotracking.enabled
and self.ptz_autotracker_thread.ptz_autotracker.tracked_object[
self.name
]
is not None