summaryrefslogtreecommitdiff
path: root/editor/plugins/line_2d_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/line_2d_editor_plugin.h')
-rw-r--r--editor/plugins/line_2d_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/line_2d_editor_plugin.h b/editor/plugins/line_2d_editor_plugin.h
index 307cf11207..0d407b3150 100644
--- a/editor/plugins/line_2d_editor_plugin.h
+++ b/editor/plugins/line_2d_editor_plugin.h
@@ -37,7 +37,7 @@
class Line2DEditor : public AbstractPolygon2DEditor {
GDCLASS(Line2DEditor, AbstractPolygon2DEditor);
- Line2D *node;
+ Line2D *node = nullptr;
protected:
virtual Node2D *_get_node() const override;