File tree Expand file tree Collapse file tree
editor/src/node_graph_executor
node-graph/graph-craft/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl NodeRuntime {
154154 }
155155
156156 pub async fn run ( & mut self ) -> Option < ImageTexture > {
157- // self.editor_api.application_io.as_ref()?;
157+ self . editor_api . application_io . as_ref ( ) ?;
158158
159159 let mut font = None ;
160160 let mut preferences = None ;
Original file line number Diff line number Diff line change @@ -69,6 +69,16 @@ impl ApplicationIo for PlatformApplicationIo {
6969 }
7070}
7171
72+ impl Default for PlatformApplicationIo {
73+ fn default ( ) -> Self {
74+ Self {
75+ #[ cfg( feature = "wgpu" ) ]
76+ gpu_executor : None ,
77+ resources : None ,
78+ }
79+ }
80+ }
81+
7282impl std:: fmt:: Debug for PlatformApplicationIo {
7383 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
7484 f. debug_struct ( "PlatformApplicationIo" ) . finish_non_exhaustive ( )
You can’t perform that action at this time.
0 commit comments