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

Update gridmap editor nodes when the gridmap node transform changes #99393

Conversation

badsectoracula
Copy link
Contributor

A minor fix for a gridmap editor glitch - when the gridmap node's transform changes the editor nodes for cursor and selection are now updated to reflect the new transformation.

…ver the gridmap node's transformation changes
@akien-mga
Copy link
Member

CC @Nodragem

@Nodragem
Copy link
Contributor

Super! That's exactly one of the thing I listed in this meta-proposal: godotengine/godot-proposals#10992
I will make sure sure to add a link to your PR.

I will have a better look on Thursday if that's ok.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Tested locally, it works as expected. Code looks good to me.

Testing project: test_pr_99393.zip

I noticed something else while testing: if you rotate the GridMap node, the placement preview does not rotate (but already placed meshes do):

image

@akien-mga akien-mga merged commit 689c789 into godotengine:master Nov 29, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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