Combine add_job and upload_file methods

This commit is contained in:
Brett Williams
2022-10-12 17:11:27 -07:00
parent fd6af10d56
commit 2181ce54a2
8 changed files with 159 additions and 112 deletions

View File

@@ -25,7 +25,8 @@ class BlenderRenderWorker(BaseRenderWorker):
install_paths = ['/Applications/Blender.app/Contents/MacOS/Blender']
def __init__(self, input_path, output_path, args=None, render_all_frames=False, engine='BLENDER_EEVEE'):
super(BlenderRenderWorker, self).__init__(input_path=input_path, output_path=output_path, args=args)
super(BlenderRenderWorker, self).__init__(input_path=input_path, output_path=output_path,
ignore_extensions=False, args=args)
self.engine = engine # or 'CYCLES'
self.format = 'JPEG'