Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed name conflict for AnimatedBoundary

Grant Sanderson5337dc5ee4e1
diff --git a/manimlib/mobject/changing.py b/manimlib/mobject/changing.py
index 9387ebd17..0b58c280d 100644
--- a/manimlib/mobject/changing.py
+++ b/manimlib/mobject/changing.py
@@ -22,9 +22,11 @@ class AnimatedBoundary(VGroup):
]
self.add(*self.boundary_copies)
self.total_time = 0
- self.add_updater(lambda m, dt: self.update(dt))
+ self.add_updater(
+ lambda m, dt: self.update_boundary_copies(dt)
+ )
- def update(self, dt):
+ def update_boundary_copies(self, dt):
# Not actual time, but something which passes at
# an altered rate to make the implementation below
# cleaner