summaryrefslogtreecommitdiffstats
path: root/editor/plugins/navigation_polygon_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/navigation_polygon_editor_plugin.h')
-rw-r--r--editor/plugins/navigation_polygon_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/navigation_polygon_editor_plugin.h b/editor/plugins/navigation_polygon_editor_plugin.h
index 16fbb241e9..7550b75fa3 100644
--- a/editor/plugins/navigation_polygon_editor_plugin.h
+++ b/editor/plugins/navigation_polygon_editor_plugin.h
@@ -37,7 +37,7 @@
class NavigationPolygonEditor : public AbstractPolygon2DEditor {
GDCLASS(NavigationPolygonEditor, AbstractPolygon2DEditor);
- NavigationRegion2D *node;
+ NavigationRegion2D *node = nullptr;
Ref<NavigationPolygon> _ensure_navpoly() const;