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

1 pixel wide lines remain thin when CanvasItem is scaled #51978

Closed
dalexeev opened this issue Aug 22, 2021 · 1 comment
Closed

1 pixel wide lines remain thin when CanvasItem is scaled #51978

dalexeev opened this issue Aug 22, 2021 · 1 comment

Comments

@dalexeev
Copy link
Member

Godot version

4.0 dev

System information

Kubuntu 21.04

Issue description

When the CanvasItem is scaled, the 1 pixel wide lines remain thin (although other transformations apply). Thick lines are scaled correctly.

Probably a bug in the RenderingServer::canvas_item_add_line function, RendererCanvasCull::canvas_item_add_line or deeper.

See the comment.

Also related: #41023.

Steps to reproduce

See the MRP.

Minimal reproduction project

1px_line_bug.zip

@Calinou
Copy link
Member

Calinou commented Aug 22, 2021

This is done by design, and is already the subject of a proposal: godotengine/godot-proposals#1363

See also godotengine/godot-proposals#2391.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants