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

Fix Line2D not rendering anything when total length is not computed #102870

Merged

Conversation

timoschwarzer
Copy link
Contributor

This fixes a regression caused by #102778.

That PR caused Line2Ds to not render at all if the conditions for distance_required are not met. (https://github.com/KoBeWi/godot/blob/842421ea61562f10ca932bf19b902202438789a7/scene/2d/line_builder.cpp#L92)

@timoschwarzer timoschwarzer requested a review from a team as a code owner February 14, 2025 18:08
@clayjohn clayjohn added this to the 4.4 milestone Feb 14, 2025
@akien-mga akien-mga merged commit 96cdbbe into godotengine:master Feb 14, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

3 participants