mirror of
https://github.com/godotengine/godot.git
synced 2025-04-07 00:44:24 +08:00
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:
commit
49c22e06d0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user