Refactor snapshot attribute handling in patch computation

- Removed redundant Rojo reference attributes from snapshot comparisons to prevent spurious diffs during VFS events.
- Updated the logic for interned instance additions to ensure deterministic ordering by redacted parent and name.

These changes aim to improve the accuracy of snapshot comparisons and enhance the handling of interned instances.
This commit is contained in:
Joe 2026-02-19 07:33:32 -06:00
parent c47e568cd4
commit eb114ac76e
7 changed files with 40 additions and 40 deletions

View file

@ -12,10 +12,6 @@ body:
changedMetadata: ~
changedName: ~
changedProperties:
Attributes:
"!Attributes":
Rojo_Ref_PrimaryPart:
"!String": "@self/OtherPart"
PrimaryPart:
"!Ref": id-4
id: id-3

View file

@ -12,12 +12,6 @@ body:
changedMetadata: ~
changedName: ~
changedProperties:
Attributes:
"!Attributes":
Rojo_Ref_CustomRef:
"!String": "@self/OtherPart"
Rojo_Ref_PrimaryPart:
"!String": "@self/Target"
CustomRef:
"!Ref": id-4
id: id-3

View file

@ -20,15 +20,6 @@ body:
Value:
"!Ref": id-5
removed: []
updated:
- changedClassName: ~
changedMetadata: ~
changedName: ~
changedProperties:
Attributes:
"!Attributes":
Rojo_Ref_PrimaryPart:
"!String": "@self/Target"
id: id-3
updated: []
packetType: messages
sessionId: id-1

View file

@ -12,10 +12,6 @@ body:
changedMetadata: ~
changedName: ~
changedProperties:
Attributes:
"!Attributes":
Rojo_Ref_PrimaryPart:
"!String": "./NonExistent/Part"
PrimaryPart: ~
id: id-3
packetType: messages

View file

@ -12,10 +12,6 @@ body:
changedMetadata: ~
changedName: ~
changedProperties:
Attributes:
"!Attributes":
Rojo_Target_PrimaryPart:
"!String": model target
Scale:
"!Float32": 1
id: id-8