Skip to content

Honor updater suspension in Create animations#4765

Closed
puneetdixit200 wants to merge 1 commit into
ManimCommunity:mainfrom
puneetdixit200:fix-create-suspend-updaters
Closed

Honor updater suspension in Create animations#4765
puneetdixit200 wants to merge 1 commit into
ManimCommunity:mainfrom
puneetdixit200:fix-create-suspend-updaters

Conversation

@puneetdixit200
Copy link
Copy Markdown

Fixes #4763

Overview: What does this pull request change?

Create and other ShowPartial animations no longer update their starting-copy mobject while suspend_mobject_updating=True. The original mobject was already suspended, but the updated starting copy could still feed updater-applied geometry back through interpolation.

Motivation and Explanation: Why and how do your changes improve the library?

This makes Create(mobject, suspend_mobject_updating=True) honor the same updater suspension contract as other animations. A non-rendering regression test compares Create on a dot with an updater against the same Create on a control dot.

Tests

  • UV_CACHE_DIR=/tmp/manim-4763-uv-cache UV_PROJECT_ENVIRONMENT=/tmp/manim-4763-venv uv run pytest tests/module/animation/test_creation.py::test_create_suspends_mobject_updaters -q
  • UV_CACHE_DIR=/tmp/manim-4763-uv-cache UV_PROJECT_ENVIRONMENT=/tmp/manim-4763-venv uv run pytest tests/module/animation/test_creation.py -q
  • UV_CACHE_DIR=/tmp/manim-4763-uv-cache UV_PROJECT_ENVIRONMENT=/tmp/manim-4763-venv uv run ruff check manim/animation/creation.py tests/module/animation/test_creation.py
  • UV_CACHE_DIR=/tmp/manim-4763-uv-cache UV_PROJECT_ENVIRONMENT=/tmp/manim-4763-venv uv run ruff format --check manim/animation/creation.py tests/module/animation/test_creation.py
  • git diff --check

@puneetdixit200 puneetdixit200 force-pushed the fix-create-suspend-updaters branch from 2ebb594 to 9c0b23e Compare June 4, 2026 05:04
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.

Create() does not suspend Mobject updating

1 participant