Skip to content

fix(animation): LaggedStartMap Restore builds subanimations#4886

Closed
Chessing234 wants to merge 2 commits into
ManimCommunity:mainfrom
Chessing234:fix/4861-laggedstartmap-restore
Closed

fix(animation): LaggedStartMap Restore builds subanimations#4886
Chessing234 wants to merge 2 commits into
ManimCommunity:mainfrom
Chessing234:fix/4861-laggedstartmap-restore

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • LaggedStartMap(Restore, mob) called Restore(*mob) when arg_creator returned a mobject (LaggedStartMap error in v0.20.1 #4861)
  • Only unpack tuples from arg_creator; pass mobjects as single args
  • Clear error on empty mobject

Fixes #4861

Test plan

  • pytest tests/module/animation/test_composition.py -k laggedstartmap -o addopts=\"\"

Made with Cursor

Taksh and others added 2 commits July 14, 2026 20:16
Default arg_creator returned bare mobjects that were unpacked via
Mobject.__iter__, so Restore(*mob) could build zero subanimations.
Wrap non-tuple values and error clearly on empty targets.

Fixes ManimCommunity#4861

Co-authored-by: Cursor <cursoragent@cursor.com>
@chopan050 chopan050 closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LaggedStartMap error in v0.20.1

2 participants