2
0
Fork 0

Fix make sub-resource crash in AnimationTreeEditor

(cherry picked from commit 274ed82283)
3.3
Haoyu Qiu 2021-10-07 19:45:03 +07:00 committed by Rémi Verschelde
parent 86f946043a
commit 061646f85b
1 changed files with 1 additions and 1 deletions

@ -55,7 +55,7 @@ void AnimationTreeEditor::edit(AnimationTree *p_tree) {
tree = p_tree;
Vector<String> path;
if (tree->has_meta("_tree_edit_path")) {
if (tree && tree->has_meta("_tree_edit_path")) {
path = tree->get_meta("_tree_edit_path");
edit_path(path);
} else {