X Tutup
Skip to content

Reinstate const parameter in Tree's draw_item_rect#110012

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
dagarsar:tree-const-arg
Sep 20, 2025
Merged

Reinstate const parameter in Tree's draw_item_rect#110012
Repiteo merged 1 commit intogodotengine:masterfrom
dagarsar:tree-const-arg

Conversation

@dagarsar
Copy link
Contributor

The const keyword for p_cell paramenter in draw_item_rect was removed in #41100 . In #76532 , the lines that were altering the Cell were removed, so it can be turned back into a const parameter. This also allows the method to be const.

Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

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

Makes sense.

@KoBeWi KoBeWi modified the milestones: 4.x, 4.6 Aug 27, 2025
@Repiteo Repiteo merged commit 72785c5 into godotengine:master Sep 20, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Sep 20, 2025

Thanks!

@dagarsar dagarsar deleted the tree-const-arg branch September 22, 2025 07:43
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.

4 participants

X Tutup