mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-07-01 05:46:36 -04:00
Don't crash on empty render(times)
This commit is contained in:
@ -211,6 +211,8 @@ class Animation(object):
|
||||
between window refreshes while rendering. Otherwise, tasks will be
|
||||
piled asynchronously on the card so that it is always under load.
|
||||
"""
|
||||
if times == []:
|
||||
return
|
||||
|
||||
f = self.features
|
||||
|
||||
|
Reference in New Issue
Block a user