forked from rojo-rbx/rojo
Add support for updating instances defined in project nodes
This commit is contained in:
@@ -39,6 +39,8 @@ use self::{
|
||||
};
|
||||
use crate::vfs::{Vfs, VfsEntry, VfsFetcher};
|
||||
|
||||
pub use self::project::snapshot_project_node;
|
||||
|
||||
macro_rules! middlewares {
|
||||
( $($middleware: ident,)* ) => {
|
||||
/// Generates a snapshot of instances from the given VfsEntry.
|
||||
|
||||
@@ -76,7 +76,7 @@ impl SnapshotMiddleware for SnapshotProject {
|
||||
}
|
||||
}
|
||||
|
||||
fn snapshot_project_node<F: VfsFetcher>(
|
||||
pub fn snapshot_project_node<F: VfsFetcher>(
|
||||
context: &mut InstanceSnapshotContext,
|
||||
instance_name: &str,
|
||||
node: &ProjectNode,
|
||||
|
||||
Reference in New Issue
Block a user