Fix animation editor sometimes not processing on scene change
This commit is contained in:
@@ -70,7 +70,9 @@ void AnimationPlayerEditor::_find_player() {
|
||||
TypedArray<Node> players = edited_scene->find_children("", "AnimationPlayer");
|
||||
|
||||
if (players.size() == 1) {
|
||||
// Replicating EditorNode::_plugin_over_edit to ensure an identical setup as when selecting manually.
|
||||
plugin->edit(players.front());
|
||||
plugin->make_visible(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user