summaryrefslogtreecommitdiff
path: root/editor/animation_bezier_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/animation_bezier_editor.h')
-rw-r--r--editor/animation_bezier_editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/animation_bezier_editor.h b/editor/animation_bezier_editor.h
index fa6fc405f2..dcb6502440 100644
--- a/editor/animation_bezier_editor.h
+++ b/editor/animation_bezier_editor.h
@@ -49,7 +49,7 @@ class AnimationBezierTrackEdit : public Control {
AnimationTimelineEdit *timeline = nullptr;
UndoRedo *undo_redo = nullptr;
Node *root = nullptr;
- Control *play_position; //separate control used to draw so updates for only position changed are much faster
+ Control *play_position = nullptr; //separate control used to draw so updates for only position changed are much faster
float play_position_pos = 0;
Ref<Animation> animation;
@@ -130,7 +130,7 @@ class AnimationBezierTrackEdit : public Control {
float transition = 0;
};
- AnimationTrackEditor *editor;
+ AnimationTrackEditor *editor = nullptr;
struct EditPoint {
Rect2 point_rect;