Invalidate node paint geometry by declared inputs instead of record identity

This commit is contained in:
2026-11-09 18:50:30 +08:00
parent a9bc6e7d29
commit 6c4ab46413
3 changed files with 15 additions and 4 deletions
+8
View File
@@ -423,3 +423,11 @@ on an already visible node no longer disables culling for every other node. Only
an otherwise offscreen target that needs extra paint/overlay retention uses the
view fallback. Focus/IME and gesture safeguards remain. This fixes a measured
regression where selecting a frame mounted all 2003 nodes after a large copy.
Node paint signatures now compare effective geometry, lifecycle, owner, component,
transform and declared geometry `dataDependencies`, rather than immutable record
object identity. An ACK that reconstructs equal records no longer recomputes all
node paint bounds. Unrelated titles do not invalidate a protocol that declares
only another data field. Omitting dependencies conservatively compares all data;
components must declare every data field their geometry reads. The scene still
gets scanned, and connection paint currently has its separate computation path.