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

[4.3] Calculate pixel snap in canvas space instead of world space #746

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

Spartan322
Copy link
Contributor

@Spartan322 Spartan322 commented Oct 17, 2024

Cherry-picked from godotengine/godot#97260
Supersedes #744

This ensures that you are actually snapping to pixels in the viewport and not an arbitrary amount

(cherry picked from commit godotengine/godot@e75900e)

This ensures that you are actually snapping to pixels in the viewport and not an arbitrary amount

(cherry picked from commit godotengine/godot@e75900e)
@Spartan322 Spartan322 added bug topic:rendering topic:2d tracked:godot Issue already tracker on the godot issue tracker labels Oct 17, 2024
@Spartan322 Spartan322 changed the title Calculate pixel snap in canvas space instead of world space [4.3] Calculate pixel snap in canvas space instead of world space Oct 17, 2024
@Spartan322 Spartan322 merged commit e5ab926 into Redot-Engine:4.3 Oct 17, 2024
18 checks passed
@Spartan322 Spartan322 deleted the 4.3-fix/pixel-snap branch October 17, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug topic:rendering topic:2d tracked:godot Issue already tracker on the godot issue tracker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants