mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Make it okay to call Mobject.update without a change in time
This commit is contained in:
@ -145,7 +145,7 @@ class Mobject(Container):
|
||||
|
||||
# Updating
|
||||
|
||||
def update(self, dt):
|
||||
def update(self, dt=0):
|
||||
for updater in self.updaters:
|
||||
num_args = get_num_args(updater)
|
||||
if num_args == 1:
|
||||
|
Reference in New Issue
Block a user