mirror of
https://github.com/godotengine/godot
synced 2024-09-05 21:39:38 +00:00
Merge pull request #92991 from smix8/navregion_canvas_clear
Fix NavigationRegion2D debug not clearing canvas item
This commit is contained in:
commit
7359423b16
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue