Skip to content

Commit

Permalink
Ensure load works for new documents too.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreprocess committed May 9, 2021
1 parent 63c261e commit 28bc090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bip/t3dn_bip/previews.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, max_size: tuple = (128, 128), lazy_load: bool = True):
self._queue = Queue()

if not bpy.app.timers.is_registered(self._timer):
bpy.app.timers.register(self._timer)
bpy.app.timers.register(self._timer, persistent=True)

def __len__(self) -> int:
'''Return the amount of previews in the collection.'''
Expand Down

0 comments on commit 28bc090

Please sign in to comment.