diff options
author | Arsh Panesar <arshpanesar.pro@gmail.com> | 2024-07-29 15:16:30 +0530 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-04 10:45:07 +0200 |
commit | e905be82491dc75cd6056d76875d2754c58ae59e (patch) | |
tree | 0567bbddcae0ccee5d326d5cd1b4d2dee82eca81 /modules/mono/utils/path_utils.cpp | |
parent | e2dd56bea7a1aa13fe74fd6eac049e4cbde0434c (diff) | |
download | redot-engine-e905be82491dc75cd6056d76875d2754c58ae59e.tar.gz |
Fix `AnimationPlayer` crash when it's made the scene root
When an AnimationPlayer is made root of a scene,
the track links may become broken and clicking on
them will crash.
Current master branch also breaks node links when
AnimationPlayer is made scene root, and can also
crash the engine if another node was made scene
root prior to the AnimationPlayer.
This happens because when made root, the editor
loses track of AnimPlayer's root node. By keeping
a copy of the AnimPlayer's root_node, the track
links remain functional.
Fixes #91043.
Diffstat (limited to 'modules/mono/utils/path_utils.cpp')
0 files changed, 0 insertions, 0 deletions