mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix
Avoid sending spurious changedMetadata updates during sync Closes #743
This commit is contained in:
parent
a30a8ecd0f
commit
427e5fa370
16 changed files with 347 additions and 15 deletions
|
|
@ -92,6 +92,9 @@ pub struct AppliedPatchUpdate {
|
|||
pub changed_class_name: Option<Ustr>,
|
||||
pub changed_properties: UstrMap<Option<Variant>>,
|
||||
pub changed_metadata: Option<InstanceMetadata>,
|
||||
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub changed_ignore_unknown_instances: Option<bool>,
|
||||
}
|
||||
|
||||
impl AppliedPatchUpdate {
|
||||
|
|
@ -102,6 +105,7 @@ impl AppliedPatchUpdate {
|
|||
changed_class_name: None,
|
||||
changed_properties: UstrMap::new(),
|
||||
changed_metadata: None,
|
||||
changed_ignore_unknown_instances: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue