Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Make it okay to call Mobject.update without a change in time

Grant Sanderson6652dc600610
diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py
index dac35e329..5b98d7180 100644
--- a/manimlib/mobject/mobject.py
+++ b/manimlib/mobject/mobject.py
@@ -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: