From 75897710b301b7c5254ecd67099f31cb6ee840d5 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Fri, 27 Apr 2018 16:05:10 -0300 Subject: Made the Pin button disable when no AnimationPlayer is selected. --- editor/plugins/animation_player_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index ae3a609f6a..b387972558 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -828,6 +828,7 @@ void AnimationPlayerEditor::_update_player() { save_anim->set_disabled(animlist.size() == 0); tool_anim->set_disabled(player == NULL); onion_skinning->set_disabled(player == NULL); + pin->set_disabled(player == NULL); int active_idx = -1; for (List::Element *E = animlist.front(); E; E = E->next()) { -- cgit v1.2.3