Skip to content

Commit 070e4a0

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 ebccbce commit 070e4a0

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
@@ -24,7 +24,7 @@
2424
### Timing logs
2525
SINGLE_CAMERA_WORKER_DO_LOG_TIMING: bool = True
2626
MULTI_CAMERA_WORKER_DO_LOG_TIMING: bool = True
27-
MAIN_WINDOW_DO_LOG_TIMING: bool = False
27+
# MAIN_WINDOW_DO_LOG_TIMING: bool = False
2828

2929

3030
class CameraSettings(BaseModel):

‎dlclivegui/gui/main_window.py‎

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

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

0 commit comments

Comments
 (0)