fixed display problem

This commit is contained in:
ykcheungab
2026-09-25 17:53:07 +08:00
parent 12781854ca
commit 3daee6d407
7 changed files with 367 additions and 5 deletions
+4
View File
@@ -177,6 +177,7 @@ def _fake_packet(
mono_t: float | None = None,
shear_n: float | None = None,
frame=None,
valid_mask=None,
):
"""A packet shaped like the real worker's, for the record-channel checks.
@@ -213,6 +214,9 @@ def _fake_packet(
invalid_reason=reason,
raw_available=True,
depth=depth,
# The device's own UV-island mask, which the real workers pass through from the
# runtime (``runtime.valid_mask``); the 2D boundary is drawn from it.
valid_mask=valid_mask,
# Per-field provenance: a producer has to say whether the arrays it hands over
# are this frame's own (the 3D sink refuses an unstated field rather than
# colouring something it cannot claim). A failed frame is stale here, exactly