mirror of
https://github.com/blw1138/Zordon.git
synced 2025-12-17 08:48:13 +00:00
Fix path to blender pack_project.py
This commit is contained in:
@@ -74,8 +74,7 @@ class Blender(BaseRenderEngine):
|
|||||||
# Credit to L0Lock for pack script - https://blender.stackexchange.com/a/243935
|
# Credit to L0Lock for pack script - https://blender.stackexchange.com/a/243935
|
||||||
try:
|
try:
|
||||||
logger.info(f"Starting to pack Blender file: {project_path}")
|
logger.info(f"Starting to pack Blender file: {project_path}")
|
||||||
script_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),
|
script_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'scripts', 'pack_project.py')
|
||||||
'scripts', 'blender', 'pack_project.py')
|
|
||||||
results = self.run_python_script(project_path, system_safe_path(script_path), timeout=timeout)
|
results = self.run_python_script(project_path, system_safe_path(script_path), timeout=timeout)
|
||||||
|
|
||||||
result_text = results.stdout.decode()
|
result_text = results.stdout.decode()
|
||||||
|
|||||||
Reference in New Issue
Block a user