fix(docker): bake blender_path into EditorSettings for headless import #16

Merged
haylan merged 1 commits from fix/bake-blender-editor-settings into main 2026-08-06 22:38:53 +00:00
1 Commits
Author SHA1 Message Date
haylanandClaude-Bot 4a4e5d5f6d fix(docker): bake blender_path into EditorSettings for headless import
Godot's headless --import/--export-release refuses to auto-detect Blender
for .blend import: "Blender path is invalid or not set... Cannot configure
blender path in headless mode" (modules/gltf/editor/editor_scene_importer_blend.cpp).
Without this, the image's Blender install was silently unusable for its one
job — no .blend file would ever import in CI.

Bakes filesystem/import/blender/blender_path into a per-minor-version
EditorSettings .tres, same pattern barichello/godot-ci and abarichello's own
Dockerfile use for Android SDK/JDK paths.

Found and verified while resolving ticket #9 (Merge, publish, and validate
the debian-slim image end-to-end): confirmed a .blend import produces a real
.scn with this fix, and fails without it, on a real container built from
this Dockerfile.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-07 00:37:48 +02:00