Merge pull request #98637 from SubmergedTree/creating-light-occluder-2d-polygon-makes-warning-exclamation-mark-disappear

Clear warning in the scene tree by creating an LightOccluder2D polygon
This commit is contained in:
Thaddeus Crews 2024-10-31 20:14:40 -05:00
commit 49c22e06d0
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -90,6 +90,7 @@ void OccluderPolygon2D::set_polygon(const Vector<Vector2> &p_polygon) {
rect_cache_dirty = true;
RS::get_singleton()->canvas_occluder_polygon_set_shape(occ_polygon, p_polygon, closed);
emit_changed();
update_configuration_warning();
}
Vector<Vector2> OccluderPolygon2D::get_polygon() const {