Skip to content

Fix behavior of Mobject.suspend_updating when only suspending parent mobject, let children continue updating #4402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

behackl
Copy link
Member

@behackl behackl commented Aug 17, 2025

See title. The current logic in Mobject.update returns early if the suspended_updating attribute of a Mobject is set to True -- and disregards that the Mobject might have submobjects for which updating is not suspended.

(This probably comes with a performance degradation for deeply nested mobjects with updaters...)

Fixes #1895.

@behackl behackl added the pr:bugfix Bug fix for use in PRs solving a specific issue:bug label Aug 17, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Dev Board Aug 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:bugfix Bug fix for use in PRs solving a specific issue:bug
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

recursive parameter of suspend_udpating and resume_updating not working
1 participant