A community-maintained Python framework for creating mathematical animations.
Small bug fix to foreground mobject behavior during an animation
Grant Sandersone6df91d03e7a
diff --git a/scene/scene.py b/scene/scene.pyindex fb6df9b48..cd4892eb9 100644--- a/scene/scene.py+++ b/scene/scene.py@@ -314,7 +314,10 @@ class Scene(object):def get_moving_mobjects(self, *animations):moving_mobjects = list(it.chain(- [anim.mobject for anim in animations],+ [+ anim.mobject for anim in animations+ if anim.mobject not in self.foreground_mobjects+ ],[ca.mobject for ca in self.continual_animations],self.foreground_mobjects,))