Skip to content

fix(scene): warn when overlapping .animate targets share play()#4875

Closed
Chessing234 wants to merge 5 commits into
ManimCommunity:mainfrom
Chessing234:fix/4865-animate-overlap-warning
Closed

fix(scene): warn when overlapping .animate targets share play()#4875
Chessing234 wants to merge 5 commits into
ManimCommunity:mainfrom
Chessing234:fix/4865-animate-overlap-warning

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

Fixes #4865

Test plan

  • pytest tests/module/scene/test_scene.py::test_warn_overlapping_animate_targets

Made with Cursor

Chessing234 and others added 5 commits July 8, 2026 16:59
Detect multiple _MethodAnimation instances in one play() that touch the
same mobject family and log a warning about argument-order overrides.

Fixes ManimCommunity#4865

Co-authored-by: Cursor <cursoragent@cursor.com>
manim.logger has propagate=False; target it explicitly in caplog.

Co-authored-by: Cursor <cursoragent@cursor.com>
caplog does not capture manim.logger (propagate=False + RichHandler).

Co-authored-by: Cursor <cursoragent@cursor.com>
@chopan050 chopan050 closed this Jul 8, 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.

Combining a parent-group .animate with a child .animate in the same self.play() silently drops whichever comes first

2 participants