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

Relax grid parameter constraints in texture region editor #89931

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

timothyqiu
Copy link
Member

In grid snap mode, grid parameters like offset, step, and separation have a hard-coded range. It's not necessary and makes it hard to edit large assets.

This PR sets their range based on the image size (like how the SpriteFrames editor does).

Also fixes an overlay drawing bug only noticeable when using large separations.

@akien-mga akien-mga merged commit dcf17cb into godotengine:master Apr 9, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@timothyqiu timothyqiu deleted the relax branch April 9, 2024 09:18
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.

2 participants