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

Clear warning in the scene tree by creating an LightOccluder2D polygon #98637

Conversation

SubmergedTree
Copy link
Contributor

fixes #21225

This commit fixes an UI bug which leads to a persistent warning in scene tree. LightOccluder2D requires a polygon to work and shows a warning in scene tree when this polygon is absent. Adding a polygon did not clear this warning. Before this fix the only way to get rid of the warning was to reload the complete scene.

The inspector issue mentioned in #21225 that polygon updates aren't reflected seems to be fixed in v4.3 and is therefore not part of this commit.

… disappear

fixes godotengine#21225

This commit fixes an UI bug which leads to a persistent warning in scene tree. Before
this fix the only way to get rid of the warning was to reload the complete scene.

The inspector issue mentioned in godotengine#21225 that polygon updates aren't reflected seems to be
fixed in v4.3 and therefore not part of this commit.
@SubmergedTree SubmergedTree requested a review from a team as a code owner October 29, 2024 14:17
@fire fire changed the title fix: creating LightOccluder2D polygon resolves warning in scene tree Clear warning in the scene tree by creating an LightOccluder2D polygon Oct 29, 2024
@clayjohn clayjohn added this to the 4.4 milestone Oct 30, 2024
@Repiteo Repiteo merged commit 49c22e0 into godotengine:master Nov 1, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 1, 2024

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.

LightOccluder2D not see when polygon occluder is set and Inspector don't update polygon Occluder coordinates
3 participants