Skip to content

Commit 31b7b33

Browse files
fix
1 parent dd52a0e commit 31b7b33

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

editor/src/node_graph_executor/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

node-graph/graph-craft/src/application_io.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
7282
impl 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()

0 commit comments

Comments
 (0)