mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Fixed bug with Mobject family member updaters
This commit is contained in:
parent
c95fb5fe46
commit
62b8a38bf5
1 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ class Scene(Container):
|
|||
###
|
||||
|
||||
def continual_update(self, dt):
|
||||
for mobject in self.get_mobjects():
|
||||
for mobject in self.get_mobject_family_members():
|
||||
mobject.update(dt)
|
||||
for continual_animation in self.continual_animations:
|
||||
continual_animation.update(dt)
|
||||
|
|
@ -194,7 +194,7 @@ class Scene(Container):
|
|||
return True
|
||||
any_time_based_update = any([
|
||||
len(m.get_time_based_updaters()) > 0
|
||||
for m in self.get_mobjects()
|
||||
for m in self.get_mobject_family_members()
|
||||
])
|
||||
if any_time_based_update:
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue