diff options
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r-- | editor/animation_track_editor.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index 7c4cc6db53..6a46a1e3ff 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -121,7 +121,6 @@ public: class AnimationTrackEditor; class AnimationTrackEdit : public Control { - GDCLASS(AnimationTrackEdit, Control); enum { @@ -354,7 +353,6 @@ class AnimationTrackEditor : public VBoxContainer { bool keying; struct InsertData { - Animation::TrackType type; NodePath path; int track_idx; @@ -379,7 +377,7 @@ class AnimationTrackEditor : public VBoxContainer { void _root_removed(Node *p_root); - PropertyInfo _find_hint_for_track(int p_idx, NodePath &r_base_path, Variant *r_current_val = NULL); + PropertyInfo _find_hint_for_track(int p_idx, NodePath &r_base_path, Variant *r_current_val = nullptr); void _timeline_value_changed(double); @@ -395,14 +393,12 @@ class AnimationTrackEditor : public VBoxContainer { //selection struct SelectedKey { - int track; int key; bool operator<(const SelectedKey &p_key) const { return track == p_key.track ? key < p_key.key : track < p_key.track; }; }; struct KeyInfo { - float pos; }; |