Closed ptbrown1729 closed 2 years ago
Hi @ptbrown1729 thanks for the clear report!
Looks like a workaround for this would be to add
if active_keyframe is None:
return
in the callback here between L55 and L56
If you wanted to make this change yourself PRs are always welcome! Otherwise, thanks for taking the time to report and I'll make the change myself soon 🙂
Sure, I'm happy to submit a PR
Changing the number of steps on the animation widget causes napari to crash if no frame has yet been captured.
Minimal example: run the following code
After napari launches, click the "+" button on the animation widget. This gives the following error
napari: 0.4.10 Platform: Windows-10-10.0.17763-SP0 Python: 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] Qt: 5.9.7 PyQt5: 5.9.2 NumPy: 1.19.2 SciPy: 1.6.2 Dask: 2021.04.0 VisPy: 0.6.6
OpenGL:
Screens:
Plugins: