summaryrefslogtreecommitdiffstats
path: root/editor/plugins/cast_2d_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/cast_2d_editor_plugin.h')
-rw-r--r--editor/plugins/cast_2d_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/cast_2d_editor_plugin.h b/editor/plugins/cast_2d_editor_plugin.h
index 85ff497bc7..ceed9b9111 100644
--- a/editor/plugins/cast_2d_editor_plugin.h
+++ b/editor/plugins/cast_2d_editor_plugin.h
@@ -42,7 +42,7 @@ class Cast2DEditor : public Control {
Ref<EditorUndoRedoManager> undo_redo;
CanvasItemEditor *canvas_item_editor = nullptr;
- Node2D *node;
+ Node2D *node = nullptr;
bool pressed = false;
Point2 original_target_position;