refactor(cctv): isolate calibration handles and stop idle poll frames

Move native gizmo entities and input into an owned renderer. Restore the
captured camera-input flag, handle cancellation and duplicate presses, and
reject foreign handle identities. Preserve native geometry and picking.

Avoid no-op sync-chip mutations and let unchanged CCTV polls complete
without publishing scene changes. Keep health/UI polling and real geometry,
auto-hop and media updates. Extend browser idle samples across two polls.

Validated full Node24 unit/allocation, boundaries, scoped format, production,
panel and QA builds; native legacy parity, real media/GPU picks on dev and
preview, engine contracts and production shell. Retain failed evidence.
This commit is contained in:
German Khokhlov committed 2026-10-28 22:44:27 +04:00
1 parent a72cfc4098
commit 311e178d0c
14 files changed
+649 -197

No files matched your search

+4 -1
View File
@@ -312,7 +312,10 @@ export class LayerLifecycle {
);
// Even a rejected/partial update may have changed the data exposed by
// the layer. Publish before classifying its result so observers see it.
this._publishActivity({ type: 'data-updated', layerId });
// A layer may explicitly report unchanged scene data while still
// completing health/UI polling. Legacy void/boolean results keep waking.
if (result?.changed !== false)
this._publishActivity({ type: 'data-updated', layerId });
if (result === false)
failure = lifecycleRejectedError(layerId, 'refresh');
if (!failure)