删掉回放的五个转发、重复的空格快捷键与重复的等待循环。

回放调用点直接走 replay_ctl,场景工具的路径引导收敛到 _paths,panel_snapshot
复用 panel_check 的 _wait_for,report_from 收成模块私有的 _report_from。
This commit is contained in:
ykcheungab
2026-10-07 12:25:48 +08:00
parent 86996694b4
commit b1cd37148c
14 changed files with 72 additions and 68 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ from orisys_app_shared.scene3d.visual_policy import (
policy_for_settings,
select_flow_samples,
)
from orisys_studio.analysis_worker import AnalysisWorker, report_from
from orisys_studio.analysis_worker import AnalysisWorker, _report_from
from orisys_studio.replay import MODE_ANALYSIS, MODE_RECORDING
from orisys_studio.replay_analysis import (
AnalysisSession,
@@ -1342,7 +1342,7 @@ def test_the_worker_reports_progress_and_a_cancelled_outcome():
report = reports[-1][1]
assert report.cancelled is True and report.complete is False
assert report.frames_written == 2
assert report_from(None, cancelled=True).cancelled is True
assert _report_from(None, cancelled=True).cancelled is True
# ------------------------------------------------------------------ the depth view
+1 -1
View File
@@ -1109,7 +1109,7 @@ def test_the_replay_view_shows_the_pane_and_says_where_the_field_comes_from(
"""
window = _show(make_window(sensor_type="finger"), (1440, 880))
try:
assert window._load_recording(Path(replay_recording))
assert window.replay_ctl.load_recording(Path(replay_recording))
assert window._view_preset == "replay"
pane = window.mesh3d_panel
assert pane.isVisible(), "the 3D pane is hidden in the replay view"