mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
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:
parent
c47e568cd4
commit
eb114ac76e
7 changed files with 40 additions and 40 deletions
|
|
@ -12,10 +12,6 @@ body:
|
|||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Attributes:
|
||||
"!Attributes":
|
||||
Rojo_Ref_PrimaryPart:
|
||||
"!String": "@self/OtherPart"
|
||||
PrimaryPart:
|
||||
"!Ref": id-4
|
||||
id: id-3
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ body:
|
|||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Attributes:
|
||||
"!Attributes":
|
||||
Rojo_Ref_PrimaryPart:
|
||||
"!String": "./NonExistent/Part"
|
||||
PrimaryPart: ~
|
||||
id: id-3
|
||||
packetType: messages
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ body:
|
|||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Attributes:
|
||||
"!Attributes":
|
||||
Rojo_Target_PrimaryPart:
|
||||
"!String": model target
|
||||
Scale:
|
||||
"!Float32": 1
|
||||
id: id-8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue