Use resource_path for Blender script execution

This commit is contained in:
2026-05-14 10:40:49 +02:00
parent 91fce08509
commit 26a50b1453

View File

@@ -837,7 +837,7 @@ class Api:
# oder als Startscript mitgibst!
cmd = [
"/Applications/Blender.app/Contents/MacOS/Blender",
"--python", "scene_setup.py",
"--python", resource_path("scene_setup.py"),
"--", glb_path, hdri_path or ""
]
try: