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

Add dotted grid to GraphEdit #83785

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

Geometror
Copy link
Member

@Geometror Geometror commented Oct 22, 2023

Introduces a grid_pattern property for GraphEdit.
The new dotted pattern adapts to the zoom level (fading) and should be a bit more pleasant to the eye.

This PR only contains the additon to GraphEdit, but to demonstrate how it could look I tested it on the VisualShader editor:
GE_dots_zoom

@Geometror Geometror added this to the 4.3 milestone Oct 22, 2023
@Geometror Geometror requested review from a team as code owners October 22, 2023 15:53
Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

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

I like the design of the grid, haven't tested or checked the code yet.

@QbieShay
Copy link
Contributor

QbieShay commented Oct 22, 2023

Looks good to me, though i think it should be possible to toggle it off in visual shaders

@Geometror
Copy link
Member Author

Geometror commented Oct 23, 2023

@QbieShay This PR only adds the new patterns to GraphEdit, the VisualShader editor remains completely unchanged. I plan to apply it to the editor in a separate PR together with some other UI/UX improvements (there will be an editor setting for changing the grid pattern).

@QbieShay
Copy link
Contributor

Yepp sorry for the misunderstanding!

@Calinou
Copy link
Member

Calinou commented Oct 23, 2023

This dotted grid may be a good addition to the 2D editor in the future 🙂

@YuriSizov YuriSizov merged commit b9dff50 into godotengine:master Dec 19, 2023
15 checks passed
@YuriSizov
Copy link
Contributor

Thanks! Let's make use of this in the editor as well :)

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.

6 participants