Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
The meshes folder's error without a closure (the dupes check's near copy)
shinyobjectzb491a2777171
diff --git a/apps/interchange/src/export.rs b/apps/interchange/src/export.rsindex dd30a814..30af66f5 100644--- a/apps/interchange/src/export.rs+++ b/apps/interchange/src/export.rs@@ -101,7 +101,9 @@ fn shape(expr: &str, out: &Path, meshes: &mut BTreeMap<String, String>) -> R<Vallet f = format!("meshes/mesh{k}.glb");// export() empties meshes/ before the parts are walked, so the folder is made here, where a file first needs itlet dir = out.join("meshes");- std::fs::create_dir_all(&dir).map_err(|e| format!("{}: {e}", dir.display()))?;+ if let Err(e) = std::fs::create_dir_all(&dir) {+ return Err(format!("{}: {e}", dir.display()));+ }// and as an .obj, which Godot imports as a mesh of its own (a .glb comes in as a scene)let (glb, obj) = (out.join(&f).to_string_lossy().into_owned(), out.join(f.replace(".glb", ".obj")).to_string_lossy().into_owned());match expr.strip_prefix("buffer:") {