mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Assign contributing paths in simple cases for snapshots
This commit is contained in:
parent
b2c515f2e6
commit
ae0f3b0b02
7 changed files with 51 additions and 31 deletions
|
|
@ -45,7 +45,7 @@ impl SnapshotMiddleware for SnapshotRbxmx {
|
|||
if children.len() == 1 {
|
||||
let mut snapshot = InstanceSnapshot::from_tree(&temp_tree, children[0]);
|
||||
snapshot.name = Cow::Owned(instance_name);
|
||||
// TODO: Assign snapshot.source
|
||||
snapshot.metadata.contributing_paths = vec![entry.path().to_path_buf()];
|
||||
|
||||
Ok(Some(snapshot))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue