mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Decouple node graph execution (#1209)
* Decouple node graph execution from the main loop * Trigger document Render + Layer updates after the graph evaluation
This commit is contained in:
committed by
Keavon Chambers
parent
da6261aa75
commit
5816807f18
@@ -64,7 +64,7 @@ impl<'i, T: 'static + Clone> Node<'i, T> for MonitorNode<T> {
|
||||
|
||||
fn serialize(&self) -> Option<Arc<dyn core::any::Any>> {
|
||||
let output = self.output.lock().unwrap();
|
||||
(*output).as_ref().and_then(|output| Some(output.clone() as Arc<dyn core::any::Any>))
|
||||
(*output).as_ref().map(|output| output.clone() as Arc<dyn core::any::Any>)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user