diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-04-27 16:05:10 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-04-27 16:06:05 -0300 |
commit | 75897710b301b7c5254ecd67099f31cb6ee840d5 (patch) | |
tree | 0f4a31949eaa204ea1af9e91b722962fdbe5f6e3 /editor | |
parent | e93a56ef3e517edfa6146ed62af4b9f85de96500 (diff) |
Made the Pin button disable when no AnimationPlayer is selected.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<StringName>::Element *E = animlist.front(); E; E = E->next()) { |