Skip to content

fix(geometry): recompute DashedLine dashes on put_start_and_end_on#4885

Closed
Chessing234 wants to merge 2 commits into
ManimCommunity:mainfrom
Chessing234:fix/3989-dashedline-refresh-dashes
Closed

fix(geometry): recompute DashedLine dashes on put_start_and_end_on#4885
Chessing234 wants to merge 2 commits into
ManimCommunity:mainfrom
Chessing234:fix/3989-dashedline-refresh-dashes

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

Fixes #3989

Test plan

  • pytest tests/module/mobject/types/vectorized_mobject/test_dashed_vmobject.py -o addopts=\"\"

Made with Cursor

Taksh and others added 2 commits July 14, 2026 15:21
Rebuild dash submobjects when endpoints change so dash length stays
consistent instead of stretching existing segments.

Fixes ManimCommunity#3989

Co-authored-by: Cursor <cursoragent@cursor.com>
Delegate to Line when endpoints coincide; only rebuild dashes for
non-degenerate length changes.

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.

[BUG] DashedLine computes num_dashes only once (on init)

2 participants