mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix name assignment for sync points
This commit is contained in:
parent
2f1aadd497
commit
c0ffbd360e
1 changed files with 6 additions and 2 deletions
|
|
@ -158,8 +158,12 @@ fn construct_project_node<'a>(
|
||||||
construct_instance_node(imfs, instance_name, node)
|
construct_instance_node(imfs, instance_name, node)
|
||||||
},
|
},
|
||||||
ProjectNode::SyncPoint(node) => {
|
ProjectNode::SyncPoint(node) => {
|
||||||
snapshot_instances_from_imfs(imfs, &node.path)
|
let mut snapshot = snapshot_instances_from_imfs(imfs, &node.path)
|
||||||
.expect("Could not reify nodes from Imfs")
|
.expect("Could not reify nodes from Imfs");
|
||||||
|
|
||||||
|
snapshot.name = Cow::Borrowed(instance_name);
|
||||||
|
|
||||||
|
snapshot
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue