Closed linusheck closed 3 years ago
Hi in the last lines you called a self.pause()
right after the self.end_loop()
self.end_loop()
self.pause()
self.wait()
I think that this is messing up with the indices because manim-presentation
assumes that animations exists between the end of a loop and a pause (or even between two self.pause()
). I should put some checks in the code and raise an error when this happens.
Anyway i removed the last self.pause()
self.end_loop()
#self.pause()
self.wait()
and it works without crashing
ahh! thanks :)
Hi, thanks for the cool project! it often occurs that manim_presentation crashes with index out of bounds. For instance, consider this code (sorry it's not so minimal...)
It should stay on the slide with the second graph, but it just skips to the end and then crashes with "index out of bounds".
I compiled the project with: