summaryrefslogtreecommitdiffstats
path: root/scene/2d/navigation_region_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/navigation_region_2d.h')
-rw-r--r--scene/2d/navigation_region_2d.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/2d/navigation_region_2d.h b/scene/2d/navigation_region_2d.h
index 5a86dd607d..52101cb93e 100644
--- a/scene/2d/navigation_region_2d.h
+++ b/scene/2d/navigation_region_2d.h
@@ -52,6 +52,12 @@ class NavigationRegion2D : public Node2D {
#ifdef DEBUG_ENABLED
private:
+ RID debug_mesh_rid;
+ RID debug_instance_rid;
+
+ bool debug_mesh_dirty = true;
+
+ void _free_debug();
void _update_debug_mesh();
void _update_debug_edge_connections_mesh();
void _update_debug_baking_rect();