Add Blender plugin (#134)

* Unbind hostname to allow localhost submissions

* Fix issue where multiple cameras were outputting to the same directory

* Add Blender plugin
This commit is contained in:
2026-06-06 14:32:48 -05:00
committed by GitHub
parent f0be78adcc
commit b8b71d1e16
8 changed files with 856 additions and 5 deletions
+4 -2
View File
@@ -100,10 +100,12 @@ class DistributedJobManager:
# --------------------------------------------
def _create_render_job(self, new_job_attributes: dict, loaded_project_local_path: Path):
output_path = new_job_attributes.get('output_path')
output_filename = loaded_project_local_path.name if output_path else loaded_project_local_path.stem
requested_output_path = new_job_attributes.get('output_path')
output_filename = Path(str(requested_output_path)).name if requested_output_path else loaded_project_local_path.stem
output_dir = loaded_project_local_path.parent.parent / "output"
if new_job_attributes.get('__use_output_subdir'):
output_dir = output_dir / output_filename
output_path = output_dir / output_filename
os.makedirs(output_dir, exist_ok=True)
logger.debug(f"New job output path: {output_path}")