Merge pull request #92991 from smix8/navregion_canvas_clear

Fix NavigationRegion2D debug not clearing canvas item
This commit is contained in:
Rémi Verschelde 2024-06-11 10:49:04 +02:00
commit 7359423b16
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -458,6 +458,7 @@ void NavigationRegion2D::_update_debug_mesh() {
return;
}
rs->canvas_item_clear(debug_instance_rid);
rs->mesh_clear(debug_mesh_rid);
debug_mesh_dirty = false;