1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Fix AnimationNodeBlendTree crash on Open Editor button press.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-26 20:10:44 +03:00
parent e37c6261ea
commit 7cf7e6aa95

View File

@@ -1024,6 +1024,11 @@ void AnimationNodeBlendTreeEditor::_scroll_changed(const Vector2 &p_scroll) {
if (updating) {
return;
}
if (blend_tree.is_null()) {
return;
}
updating = true;
blend_tree->set_graph_offset(p_scroll / EDSCALE);
updating = false;