Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

only call the new updater, not all of them

leotrsa5d83ec24e47
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py
index cff5eec93..f7ed3c1f7 100644
--- a/manim/mobject/mobject.py
+++ b/manim/mobject/mobject.py
@@ -250,7 +250,7 @@ class Mobject(Container):
else:
self.updaters.insert(index, update_function)
if call_updater:
- self.update(0)
+ update_function(self, 0)
return self
def remove_updater(self, update_function):