Skip to content

Commit 4f09b21

Browse files
committed
Fix missing signal wiring
Fix signal hookup and disable main-window timing flag. Replace the second connection of multi_camera_controller.frame_ready to _on_multi_frame_display_ready with multi_camera_controller.display_ready to separate processing-ready and display-ready events. Also comment out MAIN_WINDOW_DO_LOG_TIMING in config.py to disable main-window timing logging.
1 parent 0e7710f commit 4f09b21

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dlclivegui/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
### Timing logs
2727
SINGLE_CAMERA_WORKER_DO_LOG_TIMING: bool = True
2828
MULTI_CAMERA_WORKER_DO_LOG_TIMING: bool = True
29-
MAIN_WINDOW_DO_LOG_TIMING: bool = False
29+
# MAIN_WINDOW_DO_LOG_TIMING: bool = False
3030

3131

3232
class CameraSettings(BaseModel):

dlclivegui/gui/main_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ def _connect_signals(self) -> None:
773773

774774
# Multi-camera controller signals (used for both single and multi-camera modes)
775775
self.multi_camera_controller.frame_ready.connect(self._on_multi_frame_processing_ready)
776-
self.multi_camera_controller.frame_ready.connect(self._on_multi_frame_display_ready)
776+
self.multi_camera_controller.display_ready.connect(self._on_multi_frame_display_ready)
777777
self.multi_camera_controller.all_started.connect(self._on_multi_camera_started)
778778
self.multi_camera_controller.all_stopped.connect(self._on_multi_camera_stopped)
779779
self.multi_camera_controller.camera_error.connect(self._on_multi_camera_error)

0 commit comments

Comments
 (0)