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

draw_polyline #34073

Closed
Spartan322 opened this issue Dec 3, 2019 · 1 comment
Closed

draw_polyline #34073

Spartan322 opened this issue Dec 3, 2019 · 1 comment
Labels

Comments

@Spartan322
Copy link
Contributor

Godot version:
Mono 3.2 Beta 2

OS/device including version:
Manjaro Arch Linux "Juhraya" 18.1.2

Issue description:
draw_polyline draws the start and end points wider then the rest of the points.

This is using the draw_polyline_color function but it results in the same shape
image

Steps to reproduce:

  • Add a _draw override to a CanvasItem
  • Add draw_polyline([Vector2(), Vector2(0, 100), Vector2(100, 100), Vector2(100, 0), Vector2(-25, 0)], Color.white, 50, false)
  • Have the node draw either in editor or in game

Minimal reproduction project:
polyline_issue_project.zip

It seems related to #16466, however the focus of this issue relates to an erroneous line shape for what would expectingly be a uniform drawing of lines.

@clayjohn
Copy link
Member

clayjohn commented Dec 3, 2019

This is indeed a duplicate of #16466 can you copy your post here as a comment on that thread? It is much better for us to keep bug reports together instead of making multiple issues for the same bug.

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

No branches or pull requests

2 participants