diff options
author | RealMadvicius <madvicius_dev@outlook.fr> | 2023-10-07 11:03:13 +0200 |
---|---|---|
committer | RealMadvicius <madvicius_dev@outlook.fr> | 2023-10-07 11:34:02 +0200 |
commit | e7a35d152104c14ba89861a6ead892c4f65d9f5d (patch) | |
tree | bcb2af23aa46523f297008f887a3dc73a22c8637 /modules/gdscript/language_server/gdscript_language_server.cpp | |
parent | 6916349697a4339216469e9bf5899b983d78db07 (diff) | |
download | redot-engine-e7a35d152104c14ba89861a6ead892c4f65d9f5d.tar.gz |
Fix crash when clicking on "Interpolation Mode" with nonexistent node path
issue reference [https://github.com/godotengine/godot/issues/81769]
#81769 AnimationPlayer: Editor crashes when clicking on "Interpolation Mode" with nonexistent node path
- adding a nullptr check on a Node pointer obtained from get_node(NodePath) in case it is null now we wont execute the next instruction
> ClassDB::get_property_info(nd->get_class(), prop, &prop_info);
Which then prevents the crash
Diffstat (limited to 'modules/gdscript/language_server/gdscript_language_server.cpp')
0 files changed, 0 insertions, 0 deletions