mirror of
https://github.com/3b1b/manim.git
synced 2026-04-26 03:00:23 -04:00
Small bug fix to foreground mobject behavior during an animation
This commit is contained in:
@@ -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,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user