mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Small bug fix to foreground mobject behavior during an animation
This commit is contained in:
parent
78b660bb92
commit
e6df91d03e
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
))
|
||||
|
|
Loading…
Add table
Reference in a new issue