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

LightOccluder2D configuration warning not disappearing #102693

Open
azuriancomet opened this issue Feb 11, 2025 · 1 comment
Open

LightOccluder2D configuration warning not disappearing #102693

azuriancomet opened this issue Feb 11, 2025 · 1 comment

Comments

@azuriancomet
Copy link

Tested versions

  • Reproducible in: v4.3.stable.official [77dcf97], v4.4.beta3.official [06acfcc]

System information

Windows 11

Issue description

The node configuration warning doesn't disappear after correctly setting the Occluder, unless the project is restarted.

Image

If the LightOccluder2D is the root node, it only disappears after saving the scene (not after setting the Occluder, as expected).

Steps to reproduce

  1. Create a new project.
  2. Create a new scene.
  3. Add a Node.
  4. Add a LightOccluder2D.
  5. Create a new OccluderPolygon2D for the Occluder.
  6. Draw a shape.
  7. Save the scene.

Minimal reproduction project (MRP)

N/A since restarting the project fixed the bug.

@RedMser
Copy link
Contributor

RedMser commented Feb 11, 2025

It seems like LightOccluder2D::set_occluder_polygon doesn't call update_configuration_warnings. Adding that should fix it. See #98637 which fixed part of this already.

unless the project is restarted.

Closing and re-opening scene (or switching active scene tab) also works.

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