Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
This commit is contained in:
commit
930395af6e
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class RayCast2DEditor : public Control {
|
||||||
|
|
||||||
UndoRedo *undo_redo = nullptr;
|
UndoRedo *undo_redo = nullptr;
|
||||||
CanvasItemEditor *canvas_item_editor = nullptr;
|
CanvasItemEditor *canvas_item_editor = nullptr;
|
||||||
RayCast2D *node;
|
RayCast2D *node = nullptr;
|
||||||
|
|
||||||
bool pressed = false;
|
bool pressed = false;
|
||||||
Point2 original_cast_to;
|
Point2 original_cast_to;
|
||||||
|
|
Loading…
Reference in a new issue