Add raw args then validate for duplicate flags

This commit is contained in:
Brett Williams
2023-05-22 15:54:56 -05:00
parent 81d5787fb0
commit 50ca036a5d
3 changed files with 22 additions and 13 deletions

View File

@@ -61,6 +61,11 @@ class BlenderRenderWorker(BaseRenderWorker):
# all frames or single
cmd.extend(['-a'] if self.render_all_frames else ['-f', str(self.frame_to_render)])
# Convert raw args from string if available
raw_args = self.get_raw_args()
if raw_args:
cmd.extend(raw_args)
return cmd
def _parse_stdout(self, line):