Skip to content

Fix Color::hash() hashes the red component twice#121237

Open
di404 wants to merge 1 commit into
godotengine:masterfrom
di404:fix-color-hash-green-component
Open

Fix Color::hash() hashes the red component twice#121237
di404 wants to merge 1 commit into
godotengine:masterfrom
di404:fix-color-hash-green-component

Conversation

@di404

@di404 di404 commented Jul 11, 2026

Copy link
Copy Markdown

What problem(s) does this PR solve?

Color::hash() function hashes component 'r' twice(r, r, b, a) instead of hashing all four components once (r, g, b, a)

Additional information

@di404 di404 requested review from a team as code owners July 11, 2026 17:49

@Ivorforce Ivorforce left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good find!

@Ivorforce Ivorforce added this to the 4.x milestone Jul 11, 2026
@di404 di404 closed this Jul 11, 2026
@di404 di404 reopened this Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Color::hash() hashes the red component twice

2 participants