You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Made the Pin button disable when no AnimationPlayer is selected.
This commit is contained in:
@@ -828,6 +828,7 @@ void AnimationPlayerEditor::_update_player() {
|
|||||||
save_anim->set_disabled(animlist.size() == 0);
|
save_anim->set_disabled(animlist.size() == 0);
|
||||||
tool_anim->set_disabled(player == NULL);
|
tool_anim->set_disabled(player == NULL);
|
||||||
onion_skinning->set_disabled(player == NULL);
|
onion_skinning->set_disabled(player == NULL);
|
||||||
|
pin->set_disabled(player == NULL);
|
||||||
|
|
||||||
int active_idx = -1;
|
int active_idx = -1;
|
||||||
for (List<StringName>::Element *E = animlist.front(); E; E = E->next()) {
|
for (List<StringName>::Element *E = animlist.front(); E; E = E->next()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user