Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo

Implement Skeleton Editor Gizmo
This commit is contained in:
Rémi Verschelde 2021-10-06 21:11:20 +02:00 committed by GitHub
commit 164dc11e04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 1334 additions and 418 deletions

View file

@ -298,7 +298,7 @@ void AnimationPlayerEditor::_animation_selected(int p_which) {
autoplay->set_pressed(current == player->get_autoplay());
AnimationPlayerEditor::singleton->get_track_editor()->update_keying();
AnimationPlayerEditor::get_singleton()->get_track_editor()->update_keying();
EditorNode::get_singleton()->update_keying();
_animation_key_editor_seek(timeline_position, false);
}
@ -826,7 +826,7 @@ void AnimationPlayerEditor::_update_player() {
pin->set_disabled(player == nullptr);
if (!player) {
AnimationPlayerEditor::singleton->get_track_editor()->update_keying();
AnimationPlayerEditor::get_singleton()->get_track_editor()->update_keying();
EditorNode::get_singleton()->update_keying();
return;
}