mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
Fix tests & gradient tool
This commit is contained in:
@@ -83,6 +83,13 @@ impl NodeGraphExecutor {
|
||||
};
|
||||
(node_runtime, node_executor)
|
||||
}
|
||||
|
||||
/// It is useful to get the current execution id for tests to check if any more exeuctions have been queued.
|
||||
#[cfg(test)]
|
||||
pub(crate) fn current_execution_id(&self) -> u64 {
|
||||
self.current_execution_id
|
||||
}
|
||||
|
||||
/// Execute the network by flattening it and creating a borrow stack.
|
||||
fn queue_execution(&mut self, render_config: RenderConfig) -> u64 {
|
||||
let execution_id = self.current_execution_id;
|
||||
|
||||
Reference in New Issue
Block a user