Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Small addition for clarity

Grant Sandersonecb9184e1a25
diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py
index 6776da626..2a0ca6b48 100644
--- a/manimlib/scene/scene.py
+++ b/manimlib/scene/scene.py
@@ -503,7 +503,7 @@ class Scene(Container):
self.update_mobjects(dt)
self.update_frame()
self.add_frames(self.get_frame())
- if stop_condition and stop_condition():
+ if stop_condition is not None and stop_condition():
time_progression.close()
break
elif self.skip_animations: