mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Be sure has_updater_status is properly updated after clear
This commit is contained in:
parent
6a01e36b36
commit
95f56f5e80
1 changed files with 1 additions and 1 deletions
|
@ -591,10 +591,10 @@ class Mobject(object):
|
|||
def clear_updaters(self, recurse: bool = True):
|
||||
self.time_based_updaters = []
|
||||
self.non_time_updaters = []
|
||||
self.refresh_has_updater_status()
|
||||
if recurse:
|
||||
for submob in self.submobjects:
|
||||
submob.clear_updaters()
|
||||
self.refresh_has_updater_status()
|
||||
return self
|
||||
|
||||
def match_updaters(self, mobject: Mobject):
|
||||
|
|
Loading…
Add table
Reference in a new issue