mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Update parent updater status when adding updaters
This commit is contained in:
parent
217c1d7bb0
commit
3b847da9ea
1 changed files with 2 additions and 0 deletions
|
@ -575,6 +575,8 @@ class Mobject(object):
|
|||
updater_list.insert(index, update_function)
|
||||
|
||||
self.refresh_has_updater_status()
|
||||
for parent in self.parents:
|
||||
parent.has_updaters = True
|
||||
if call_updater:
|
||||
self.update(dt=0)
|
||||
return self
|
||||
|
|
Loading…
Add table
Reference in a new issue