From ecb9184e1a2589d6c9fc545369b182cc6b6826ff Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 19 Mar 2019 17:31:03 -0700 Subject: [PATCH] Small addition for clarity --- manimlib/scene/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index 6776da62..2a0ca6b4 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: