Use resource_path for Blender script execution
This commit is contained in:
2
main.py
2
main.py
@@ -837,7 +837,7 @@ class Api:
|
|||||||
# oder als Startscript mitgibst!
|
# oder als Startscript mitgibst!
|
||||||
cmd = [
|
cmd = [
|
||||||
"/Applications/Blender.app/Contents/MacOS/Blender",
|
"/Applications/Blender.app/Contents/MacOS/Blender",
|
||||||
"--python", "scene_setup.py",
|
"--python", resource_path("scene_setup.py"),
|
||||||
"--", glb_path, hdri_path or ""
|
"--", glb_path, hdri_path or ""
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user