Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions manim/animation/creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ def __init__(
raise TypeError(f"{self.__class__.__name__} only works for VMobjects.")
super().__init__(mobject, **kwargs)

def begin(self) -> None:
super().begin()
# Each frame is rebuilt from starting_mobject via pointwise_become_partial,
# so its updaters must also be suspended; otherwise they keep mutating the
# reference copy and leak back into the result, ignoring
# suspend_mobject_updating (#4763).
if self.suspend_mobject_updating and self.starting_mobject is not None:
self.starting_mobject.suspend_updating()

def interpolate_submobject(
self,
submobject: Mobject,
Expand Down
Loading