mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 22:25:26 +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)
|
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
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user