Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make GraphNode handle children with EXPAND flag #39810

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

christinoleo
Copy link
Contributor

@christinoleo christinoleo commented Jun 24, 2020

The current GraphNode implementation ignores the EXPAND flags of children. This reuses the code of box_container.cpp in a way to allow GraphNode to handle it. It fixes #7804.

This is my first contribution, so any feedback, tips or updates are very welcome! I also wanted to know how to update the 3.2 branch as well (like, another PR?), or if I should not do anything regarding 3.2.

aa

@christinoleo christinoleo force-pushed the master branch 3 times, most recently from e5dc35a to 3fd88ab Compare June 24, 2020 21:53
@Calinou Calinou added bug cherrypick:3.x Considered for cherry-picking into a future 3.x release topic:gui labels Jun 25, 2020
@Calinou Calinou added this to the 4.0 milestone Jun 25, 2020
@aaronfranke
Copy link
Member

@christinoleo Is this still desired? If so, it needs to be rebased and tested on the latest master branch.

@christinoleo
Copy link
Contributor Author

@aaronfranke Thanks for bringing this up. I have updated the commit to the latest commit in godot/master.

Copy link
Member

@groud groud left a comment

Choose a reason for hiding this comment

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

Looks good to me. I don't see any big problem as it uses the code from box_container.

@christinoleo
Copy link
Contributor Author

Thanks @groud
Is there anything else left for me to do, or do I just wait for someone to merge the pull request?

@akien-mga akien-mga merged commit 4c56fcd into godotengine:master Mar 16, 2021
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

@akien-mga
Copy link
Member

Cherry-picked for 3.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label May 31, 2021
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.

GraphNode doesn't handle expand flag
5 participants