mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Bugfix: ensure all object labels are added to zones (#16686)
This commit is contained in:
		
							parent
							
								
									b34fb8bf7c
								
							
						
					
					
						commit
						0083d09a8b
					
				| @ -33,7 +33,11 @@ class CameraActivityManager: | ||||
|                     self.zone_active_object_counts[zone] = Counter() | ||||
|                     self.all_zone_labels[zone] = set() | ||||
| 
 | ||||
|                 self.all_zone_labels[zone].update(zone_config.objects) | ||||
|                 self.all_zone_labels[zone].update( | ||||
|                     zone_config.objects | ||||
|                     if zone_config.objects | ||||
|                     else camera_config.objects.track | ||||
|                 ) | ||||
| 
 | ||||
|     def update_activity(self, new_activity: dict[str, dict[str, any]]) -> None: | ||||
|         all_objects: list[dict[str, any]] = [] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user