Fix selecting keys in Track Edit
This commit is contained in:
parent
80332049ee
commit
52649d5402
2 changed files with 2 additions and 2 deletions
|
@ -4952,7 +4952,7 @@ void AnimationTrackEditor::_add_method_key(const String &p_method) {
|
||||||
EditorNode::get_singleton()->show_warning(TTR("Method not found in object: ") + p_method);
|
EditorNode::get_singleton()->show_warning(TTR("Method not found in object: ") + p_method);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationTrackEditor::_key_selected(int p_track, int p_key, bool p_single) {
|
void AnimationTrackEditor::_key_selected(int p_key, bool p_single, int p_track) {
|
||||||
ERR_FAIL_INDEX(p_track, animation->get_track_count());
|
ERR_FAIL_INDEX(p_track, animation->get_track_count());
|
||||||
ERR_FAIL_INDEX(p_key, animation->track_get_key_count(p_track));
|
ERR_FAIL_INDEX(p_key, animation->track_get_key_count(p_track));
|
||||||
|
|
||||||
|
|
|
@ -406,7 +406,7 @@ class AnimationTrackEditor : public VBoxContainer {
|
||||||
|
|
||||||
Map<SelectedKey, KeyInfo> selection;
|
Map<SelectedKey, KeyInfo> selection;
|
||||||
|
|
||||||
void _key_selected(int p_track, int p_key, bool p_single);
|
void _key_selected(int p_key, bool p_single, int p_track);
|
||||||
void _key_deselected(int p_key, int p_track);
|
void _key_deselected(int p_key, int p_track);
|
||||||
|
|
||||||
bool moving_selection;
|
bool moving_selection;
|
||||||
|
|
Loading…
Add table
Reference in a new issue