You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix make sub-resource crash in AnimationTreeEditor
(cherry picked from commit 274ed82283)
This commit is contained in:
committed by
Rémi Verschelde
parent
52ebe5993e
commit
e7b67fe8ee
@@ -55,7 +55,7 @@ void AnimationTreeEditor::edit(AnimationTree *p_tree) {
|
|||||||
tree = p_tree;
|
tree = p_tree;
|
||||||
|
|
||||||
Vector<String> path;
|
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");
|
path = tree->get_meta("_tree_edit_path");
|
||||||
edit_path(path);
|
edit_path(path);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user