mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +08:00
Be sure has_updater_status is properly updated after clear
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user