mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
Fix name assignment for sync points
This commit is contained in:
@@ -158,8 +158,12 @@ fn construct_project_node<'a>(
|
||||
construct_instance_node(imfs, instance_name, node)
|
||||
},
|
||||
ProjectNode::SyncPoint(node) => {
|
||||
snapshot_instances_from_imfs(imfs, &node.path)
|
||||
.expect("Could not reify nodes from Imfs")
|
||||
let mut snapshot = snapshot_instances_from_imfs(imfs, &node.path)
|
||||
.expect("Could not reify nodes from Imfs");
|
||||
|
||||
snapshot.name = Cow::Borrowed(instance_name);
|
||||
|
||||
snapshot
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user