mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Add SnapshotSource property
This commit is contained in:
parent
439a1a758e
commit
a914a92cea
11 changed files with 39 additions and 3 deletions
|
|
@ -49,6 +49,7 @@ impl SnapshotMiddleware for SnapshotRbxm {
|
|||
if children.len() == 1 {
|
||||
let mut snapshot = InstanceSnapshot::from_tree(&temp_tree, children[0]);
|
||||
snapshot.name = Cow::Owned(instance_name);
|
||||
// TODO: Assign snapshot.source
|
||||
|
||||
Ok(Some(snapshot))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue