Skip to content

Conversation

@AbhilashaTandon
Copy link
Contributor

@AbhilashaTandon AbhilashaTandon commented Jan 12, 2025

Overview: What does this pull request change?

Fixes #4096

Added color gradient of text Mobjects to Pango file name hash, fixes gradient text coloration issue here: ManimCE Doesn't Recognize Text Object's changes When Rerunning The Scene Due to Old Cache #4096

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

Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

Copy link
Member

@behackl behackl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a minor suggestion, but looks good to me in general. This does seem like somwhat of a bandaid fix; perhaps we should think about a more general solution for generating these hashes so that we do not need to specify all the possible arguments separately.

Otherwise, thanks for your contribution and please take a look at my suggestion.

chopan050 and others added 2 commits July 25, 2025 10:57
@chopan050 chopan050 dismissed behackl’s stale review July 25, 2025 15:02

I just talked with Ben on Discord about commiting the suggestion and merging this PR. Since he was not on his computer at the time, he asked me to do it instead.

@chopan050 chopan050 changed the title Fixed Gradient Text Rendering, Resolves Issue #4096 Include Text.gradient in its hash to properly regenerate Text when its gradient changes Jul 25, 2025
@chopan050 chopan050 changed the title Include Text.gradient in its hash to properly regenerate Text when its gradient changes Include Text.gradient in hash to properly regenerate Text when its gradient changes Jul 25, 2025
@chopan050 chopan050 enabled auto-merge (squash) July 25, 2025 15:11
@chopan050 chopan050 merged commit 4ddf777 into ManimCommunity:main Jul 25, 2025
23 of 24 checks passed
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Dev Board Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ManimCE Doesn't Recognize Text Object's changes When Rerunning The Scene Due to Old Cache

3 participants