mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Add more types in rbx_snapshot
This commit is contained in:
parent
b2753cb268
commit
70ba101fe1
1 changed files with 3 additions and 3 deletions
|
|
@ -225,9 +225,9 @@ fn reconcile_instance_children(
|
||||||
let children_ids = tree.get_instance(id).unwrap().get_children_ids().to_vec();
|
let children_ids = tree.get_instance(id).unwrap().get_children_ids().to_vec();
|
||||||
let child_count = children_ids.len().max(snapshot.children.len());
|
let child_count = children_ids.len().max(snapshot.children.len());
|
||||||
|
|
||||||
let mut children_to_add = Vec::new();
|
let mut children_to_update: Vec<(RbxId, &RbxSnapshotInstance)> = Vec::new();
|
||||||
let mut children_to_update = Vec::new();
|
let mut children_to_add: Vec<&RbxSnapshotInstance> = Vec::new();
|
||||||
let mut children_to_remove = Vec::new();
|
let mut children_to_remove: Vec<RbxId> = Vec::new();
|
||||||
|
|
||||||
for i in 0..child_count {
|
for i in 0..child_count {
|
||||||
let instance_child = children_ids
|
let instance_child = children_ids
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue