Skip to content

Commit

Permalink
Hacky fix for job preview
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Apr 17, 2024
1 parent 8e9903c commit 7224426
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion animation_workbench/core/animation_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ def create_job_for_frame(self, frame: int) -> Optional[RenderJob]:
# inefficient, but we can rework later if needed!
jobs = self.create_jobs()
for _ in range(frame + 1):
job = next(jobs)
try: # hacky fix for crash experienced by a user TODO
job = next(jobs)
except:
pass
return job

def create_jobs(self) -> Iterator[RenderJob]:
Expand Down

0 comments on commit 7224426

Please sign in to comment.